Denim blue to HSL — Color Code

#3b5b92
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%)
HSV hsv(217.9, 59.6%, 57.3%)

denim blue color harmonies

Tints & shades of denim blue

Tints (lighter)

#4d6a9c #5f79a6 #7088b0 #8297ba #94a6c4 #a6b4cd #b8c3d7 #cad2e1 #dbe1eb #edf0f5

Shades (darker)

#365385 #304a77 #2b426a #263a5d #203250 #1b2942 #152135 #101928 #0b111b #05080d

Contrast & accessibility

The quick brown fox

On white · 6.78:1 · AA

The quick brown fox

On black · 3.1:1 · AA Large

Recommended text color: #ffffff

Use denim blue in code

CSS color: #3b5b92;
SCSS $color: #3b5b92;
Tailwind bg-[#3b5b92]
Swift UIColor(red: 0.231, green: 0.357, blue: 0.573, alpha: 1)
Android Color.parseColor("#3b5b92")
Flutter Color(0xFF3B5B92)

Colors similar to denim blue

Browse all Blue colors →

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.