#201F28#201F28
#201F28 is a very dark, near-neutral blue. Relative luminance 0.014; OKLCH L 24.4% C 0.017 H 290.2°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).
Color values
| HEX | #201F28 |
|---|---|
| RGB | rgb(32, 31, 40) |
| HSL | hsl(247, 13%, 14%) |
| HSV | hsv(247, 23%, 16%) |
| CMYK | cmyk(20%, 22.5%, 0%, 84.3%) |
| CIE-LAB | lab(12.22, 2.89, -5.88) |
| CIE-LCH | lch(12.22, 6.55, 296.15°) |
| OKLab | oklab(24.44% 0.0059 -0.016) |
| OKLCH | oklch(24.44% 0.017 290.2) |
| XYZ | xyz(1.4686, 1.4402, 2.2077) |
| Luminance | 0.0144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.32
Almost Black
#070D0D
ΔE00 9.36
Black
#000000
ΔE00 9.69
Dark Grey
#363737
ΔE00 9.79
Gunmetal
#2A3439
ΔE00 9.89
Onyx
#353839
ΔE00 10.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F28 #27281F
analogous
#1F2328 #201F28 #251F28
triadic
#201F28 #28201F #1F2820
tetradic
#201F28 #281F23 #27281F #1F2825
square
#201F28 #281F23 #27281F #1F2825
split-complementary
#201F28 #28251F #23281F
monochromatic
#0E0D11 #0E0D11 #201F28 #3C3A4A #57546D
Accessibility & contrast
On white
16.30
#201F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#201F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F28
16.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F28 | 1.00 | 16.30 | 1.29 | 16.30 |
| #FFFFFF | 16.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2028
Deuteranopia (green-blind)
#1D2028
Tritanopia (blue-blind)
#1E2022
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #201f28; /* rgb */ color: rgb(32, 31, 40); /* oklch */ color: oklch(24.4% 0.017 290.2);
Tailwind
colors: {
custom: {
50: '#5b5a61',
500: '#201f28',
950: '#000000',
},
}SCSS
$custom: #201f28; $custom-light: #5b5a61; $custom-dark: #000000;
JSON
{
"hex": "#201f28",
"rgb": {
"r": 32,
"g": 31,
"b": 40
},
"hsl": {
"h": 246.667,
"s": 12.676,
"l": 13.922
},
"oklch": {
"l": 0.24438,
"c": 0.01702,
"h": 290.2
},
"luminance": 0.0144
}Semantic roles & 50–950 ramp
primary
#201F28
secondary
#57594A
accent
#B672AE
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879