Dark
Dark is a near-black, muted blue color with the hex code #1B2431 (hue 215°, saturation 29%, lightness 15%).
- HEX
#1B2431 - RGB
rgb(27 36 49) - HSL
hsl(215 29% 15%) - OKLCH
oklch(25.8% 0.028 258)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Dark | #1B2431 | 27, 36, 49 | 215°, 29%, 15% | 45, 27, 0, 81 | 25.8% 0.028 258 |
Contrast with white text 15.63:1, with black text 1.34:1 — use white text on Dark.
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 Dark
Move the sliders to make Dark lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#1B2431 - RGB
rgb(27 36 49) - HSL
hsl(215 29% 15%)
Variations of Dark
Text on Dark
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.
Dark with color blindness
How Dark 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 Dark
Six color schemes built on Dark with classic harmony rules. The complementary scheme pairs it with Cocoa Brown (#35281E), the color opposite it on the color wheel.
- Dark Complementary Color Scheme#1B2431#3C4F6E#35281E#16110D#715D3D
- Dark Analogous Color Scheme#1B3427#193232#1B2431#151931#2E183B
- Dark Triadic Color Scheme#1B2431#2C1620#223311#3F586E#130D0D
- Dark Split-complementary Color Scheme#1B2431#351E1C#2F2E1F#0B0C14#613936
- Dark Tetradic Color Scheme#1B2431#391531#35281E#1B2B1B#3F586E
- Dark Monochromatic Color Scheme#0B0C14#0B0C14#1B2431#3A4A62#4E6F95
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Dark (relative luminance 0.021 vs 0.017) and more saturated, with its hue 25° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Dark (relative luminance 0.068 vs 0.017) and equally saturated, with its hue 35° away. - Navy (
navy): Navy (#000080) is about as light as Dark (relative luminance 0.016 vs 0.017) and more saturated, with its hue 25° away. - Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is about as light as Dark (relative luminance 0.019 vs 0.017) and more saturated, with its hue 25° away.
Gradients with Dark
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark Eclipse#112244
- Dark Knight#151931
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
- Infinite Night#071037
Questions
What is the hex code for Dark?
#1B2431 — RGB 27, 36, 49, HSL 215°, 29%, 15%.
Is Dark a warm or cool color?
Cool — its hue sits at 215° on the color wheel.