Huebook

Denim

Denim is a dark, saturated blue color with the hex code #2243B6 (hue 227°, saturation 69%, lightness 42%).

#2243B6
NameHEXRGBHSLCMYKOKLCH
Denim#2243B634, 67, 182227°, 69%, 42%81, 63, 0, 2943.8% 0.186 266

Contrast with white text 8.25:1, with black text 2.55:1 — use white text on Denim.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Denim

Move the sliders to make Denim lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Denim
  • HEX#2243B6
  • RGBrgb(34 67 182)
  • HSLhsl(227 69% 42%)

Variations of Denim

Text on Denim

White textThe quick brown fox8.25:1 · AA pass · AAA pass
Black textThe quick brown fox2.55:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Denim with color blindness

Normal #2243B6
Protanopia #0056BA
Deuteranopia #0048B4
Tritanopia #006176

How Denim appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#D4DCF7
#94A7EB
#5372DF
#2447C1
#182F81
#0C1840

Colors that go with Denim

Six color schemes built on Denim with classic harmony rules. The complementary scheme pairs it with Sahara (#B79826), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium blue colors

Questions

What is the hex code for Denim?

#2243B6 — RGB 34, 67, 182, HSL 227°, 69%, 42%.

Is Denim a warm or cool color?

Cool — its hue sits at 227° on the color wheel.