#181920#181920
#181920 is a very dark, near-neutral blue. Relative luminance 0.010; OKLCH L 21.6% C 0.014 H 278.8°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #181920 |
|---|---|
| RGB | rgb(24, 25, 32) |
| HSL | hsl(233, 14%, 11%) |
| HSV | hsv(233, 25%, 13%) |
| CMYK | cmyk(25%, 21.9%, 0%, 87.5%) |
| CIE-LAB | lab(8.94, 1.52, -5.01) |
| CIE-LCH | lch(8.94, 5.24, 286.83°) |
| OKLab | oklab(21.55% 0.0021 -0.0136) |
| OKLCH | oklch(21.55% 0.014 278.8) |
| XYZ | xyz(0.9850, 0.9937, 1.5061) |
| Luminance | 0.0099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.32
Almost Black
#070D0D
ΔE00 6.78
Black
#000000
ΔE00 7.23
Gunmetal
#2A3439
ΔE00 9.93
Dark Grey
#363737
ΔE00 10.61
Onyx
#353839
ΔE00 10.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181920 #201F18
analogous
#181D20 #181920 #1B1820
triadic
#181920 #201819 #192018
tetradic
#181920 #20181D #201F18 #18201B
square
#181920 #20181D #201F18 #18201B
split-complementary
#181920 #201B18 #1D2018
monochromatic
#0D0E11 #0D0E11 #181920 #323443 #4C5066
Accessibility & contrast
On white
17.52
#181920 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#181920 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181920
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181920 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181920 | 1.00 | 17.52 | 1.20 | 17.52 |
| #FFFFFF | 17.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171A20
Deuteranopia (green-blind)
#171920
Tritanopia (blue-blind)
#161A1B
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #181920; /* rgb */ color: rgb(24, 25, 32); /* oklch */ color: oklch(21.6% 0.014 278.8);
Tailwind
colors: {
custom: {
50: '#54555b',
500: '#181920',
950: '#000000',
},
}SCSS
$custom: #181920; $custom-light: #54555b; $custom-dark: #000000;
JSON
{
"hex": "#181920",
"rgb": {
"r": 24,
"g": 25,
"b": 32
},
"hsl": {
"h": 232.5,
"s": 14.286,
"l": 10.98
},
"oklch": {
"l": 0.21554,
"c": 0.0138,
"h": 278.8
},
"luminance": 0.00994
}Semantic roles & 50–950 ramp
primary
#181920
secondary
#514F43
accent
#AE71B7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020304
muted
#787879