Night blue to HSL — Color Code

HSL

hsl(240.9, 92%, 14.7%)

Format Value
HEX #040348
RGB rgb(4, 3, 72)
HSL hsl(240.9, 92%, 14.7%)
CMYK cmyk(94.4%, 95.8%, 0%, 71.8%)

What is the HSL code for night blue?

The CSS color night blue in HSL format is hsl(240.9, 92%, 14.7%). Use this value directly in CSS, SVG, and most design tools.

How do I use night blue in CSS?

To apply night blue in CSS:

  • Text color: color: hsl(240.9, 92%, 14.7%);
  • Background: background-color: hsl(240.9, 92%, 14.7%);
  • Border: border-color: hsl(240.9, 92%, 14.7%);

What are all the color format values for night blue?

FormatValue
HEX#040348
RGBrgb(4, 3, 72)
HSLhsl(240.9, 92%, 14.7%)
CMYKcmyk(94.4%, 95.8%, 0%, 71.8%)

How do I convert night blue to HSL?

Select night blue from the color name list in our color converter. The HSL value — hsl(240.9, 92%, 14.7%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does night blue belong to?

night blue belongs to the blue color family. It is a dark, vivid color with HSL values: hue 240.9°, saturation 92%, lightness 14.7%.

How do I create lighter and darker shades of night blue?

Lighter variant (lightness 29.7%): #080691. Darker variant (lightness 5%): #010118. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.