Denim blue to HSL — Color Code

HSL

hsl(217.9, 42.4%, 40.2%)

Format Value
HEX #3b5b92
RGB rgb(59, 91, 146)
HSL hsl(217.9, 42.4%, 40.2%)
CMYK cmyk(59.6%, 37.7%, 0%, 42.7%)

What is the HSL code for denim blue?

The CSS color denim blue in HSL format is hsl(217.9, 42.4%, 40.2%). Use this value directly in CSS, SVG, and most design tools.

How do I use denim blue in CSS?

To apply denim blue in CSS:

  • Text color: color: hsl(217.9, 42.4%, 40.2%);
  • Background: background-color: hsl(217.9, 42.4%, 40.2%);
  • Border: border-color: hsl(217.9, 42.4%, 40.2%);

What are all the color format values for denim blue?

FormatValue
HEX#3b5b92
RGBrgb(59, 91, 146)
HSLhsl(217.9, 42.4%, 40.2%)
CMYKcmyk(59.6%, 37.7%, 0%, 42.7%)

How do I convert denim blue to HSL?

Select denim blue from the color name list in our color converter. The HSL value — hsl(217.9, 42.4%, 40.2%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does denim blue belong to?

denim blue belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 217.9°, saturation 42.4%, lightness 40.2%.

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

Lighter variant (lightness 55.2%): #5c80bd. Darker variant (lightness 25.200000000000003%): #25395c. 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.