Denim
Denim is a dark, saturated blue color with the hex code #2243B6 (hue 227°, saturation 69%, lightness 42%).
- HEX
#2243B6 - RGB
rgb(34 67 182) - HSL
hsl(227 69% 42%) - OKLCH
oklch(43.8% 0.186 266)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Denim | #2243B6 | 34, 67, 182 | 227°, 69%, 42% | 81, 63, 0, 29 | 43.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.
- HEX
#2243B6 - RGB
rgb(34 67 182) - HSL
hsl(227 69% 42%)
Variations of Denim
Text on Denim
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
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
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.
- Denim Complementary Color Scheme#2243B6#5170D7#B79826#74640D#E2C555
- Denim Analogous Color Scheme#27B692#2A8FBD#2243B6#4428BC#8822BB
- Denim Triadic Color Scheme#2243B6#BB2244#44AA33#5577EE#771C2B
- Denim Split-complementary Color Scheme#2243B6#B74923#8EB826#1A2578#DD7744
- Denim Tetradic Color Scheme#2243B6#BB2288#B79826#22BB55#5577EE
- Denim Monochromatic Color Scheme#0E1531#1A2578#2243B6#5566DD#8F99FB
Nearest CSS named colors
- Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is darker than Denim (relative luminance 0.066 vs 0.077) and less saturated, with its hue 22° away. - Medium Blue (
mediumblue): Medium Blue (#0000CD) is darker than Denim (relative luminance 0.044 vs 0.077) and more saturated, with its hue 13° away. - Rebecca Purple (
rebeccapurple): Rebecca Purple (#663399) is about as light as Denim (relative luminance 0.075 vs 0.077) and less saturated, with its hue 43° away. - Royal Blue (
royalblue): Royal Blue (#4169E1) is lighter than Denim (relative luminance 0.167 vs 0.077) and equally saturated, with the same hue.
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.