Denim Color — HEX, RGB, HSL & CMYK Codes

#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 HEX code for denim?

The CSS color denim in HEX format is #3b638c. 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: #3b638c;
  • Background: background-color: #3b638c;
  • Border: border-color: #3b638c;

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 HEX?

Select denim from the color name list in our color converter. The HEX value — #3b638c — 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 HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.