Denim to HSL — Color Code

#3b638c
Format Value
HEX #3b638c
RGB rgb(59, 99, 140)
HSL hsl(210.4, 40.7%, 39%)
CMYK cmyk(57.9%, 29.3%, 0%, 45.1%)
HSV hsv(210.4, 57.9%, 54.9%)

denim color harmonies

Tints & shades of denim

Tints (lighter)

#4d7196 #5f7fa1 #708eab #829cb6 #94aac0 #a6b8cb #b8c6d5 #cad4e0 #dbe3ea #edf1f5

Shades (darker)

#365a7f #305173 #2b4866 #263f59 #20364c #1b2d40 #152433 #101b26 #0b1219 #05090d

Contrast & accessibility

The quick brown fox

On white · 6.27:1 · AA

The quick brown fox

On black · 3.35:1 · AA Large

Recommended text color: #ffffff

Use denim in code

CSS color: #3b638c;
SCSS $color: #3b638c;
Tailwind bg-[#3b638c]
Swift UIColor(red: 0.231, green: 0.388, blue: 0.549, alpha: 1)
Android Color.parseColor("#3b638c")
Flutter Color(0xFF3B638C)

Colors similar to denim

Browse all Blue colors →

What is the HSL code for denim?

The CSS color denim in HSL format is hsl(210.4, 40.7%, 39%). Use this value directly in CSS, SVG, and most design tools.

How do I use denim in CSS?

To apply denim in CSS:

  • Text color: color: hsl(210.4, 40.7%, 39%);
  • Background: background-color: hsl(210.4, 40.7%, 39%);
  • Border: border-color: hsl(210.4, 40.7%, 39%);

What are all the color format values for denim?

FormatValue
HEX#3b638c
RGBrgb(59, 99, 140)
HSLhsl(210.4, 40.7%, 39%)
CMYKcmyk(57.9%, 29.3%, 0%, 45.1%)

How do I convert denim to HSL?

Select denim from the color name list in our color converter. The HSL value — hsl(210.4, 40.7%, 39%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does denim belong to?

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

How do I create lighter and darker shades of denim?

Lighter variant (lightness 54%): #5a89b9. Darker variant (lightness 24%): #243d56. 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.