#181828#181828
#181828 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.7% C 0.031 H 283.5°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).
Color values
| HEX | #181828 |
|---|---|
| RGB | rgb(24, 24, 40) |
| HSL | hsl(240, 25%, 13%) |
| HSV | hsv(240, 40%, 16%) |
| CMYK | cmyk(40%, 40%, 0%, 84.3%) |
| CIE-LAB | lab(9.00, 4.88, -10.90) |
| CIE-LCH | lch(9.00, 11.94, 294.11°) |
| OKLab | oklab(21.73% 0.0073 -0.0303) |
| OKLCH | oklch(21.73% 0.031 283.5) |
| XYZ | xyz(1.0862, 1.0006, 2.1430) |
| Luminance | 0.0100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 6.92
Navy Blue
#1B2A4A
ΔE00 9.01
Midnight
#03012D
ΔE00 9.82
Dark Navy Blue
#00022E
ΔE00 9.91
Navy (survey)
#01153E
ΔE00 9.96
Dark Navy
#000435
ΔE00 11.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181828 #282818
analogous
#182028 #181828 #201828
triadic
#181828 #281818 #182818
tetradic
#181828 #281820 #282818 #182820
square
#181828 #281820 #282818 #182820
split-complementary
#181828 #282018 #202818
monochromatic
#0B0B13 #0B0B13 #181828 #2F2F4E #464674
Accessibility & contrast
On white
17.50
#181828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#181828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181828
17.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181828 | 1.00 | 17.50 | 1.20 | 17.50 |
| #FFFFFF | 17.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#131928
Tritanopia (blue-blind)
#141B1E
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #181828; /* rgb */ color: rgb(24, 24, 40); /* oklch */ color: oklch(21.7% 0.031 283.5);
Tailwind
colors: {
custom: {
50: '#555462',
500: '#181828',
950: '#000000',
},
}SCSS
$custom: #181828; $custom-light: #555462; $custom-dark: #000000;
JSON
{
"hex": "#181828",
"rgb": {
"r": 24,
"g": 24,
"b": 40
},
"hsl": {
"h": 240,
"s": 25,
"l": 12.549
},
"oklch": {
"l": 0.21733,
"c": 0.03119,
"h": 283.5
},
"luminance": 0.01001
}Semantic roles & 50–950 ramp
primary
#181828
secondary
#5C5C40
accent
#C166C1
background
#F4F4F5
surface
#E8E7EA
border
#C4C3C6
text
#030205
muted
#787879