#201871#201871
#201871 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.144 H 276.7°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #201871 |
|---|---|
| RGB | rgb(32, 24, 113) |
| HSL | hsl(245, 65%, 27%) |
| HSV | hsv(245, 79%, 44%) |
| CMYK | cmyk(71.7%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(16.27, 33.41, -49.53) |
| CIE-LCH | lch(16.27, 59.74, 304.00°) |
| OKLab | oklab(29.27% 0.0168 -0.1431) |
| OKLCH | oklch(29.27% 0.144 276.7) |
| XYZ | xyz(3.9020, 2.1522, 15.8294) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.98
Dark Royal Blue
#02066F
ΔE00 4.07
Darkblue (survey)
#030764
ΔE00 4.32
Deep Blue
#040273
ΔE00 4.63
Royal
#0C1793
ΔE00 5.26
Navy
#000080
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201871 #697118
analogous
#183D71 #201871 #4D1871
triadic
#201871 #712018 #187120
tetradic
#201871 #71183D #697118 #18714D
square
#201871 #71183D #697118 #18714D
split-complementary
#201871 #714D18 #3D7118
monochromatic
#070519 #120D3F #201871 #2E23A3 #3F30D3
Accessibility & contrast
On white
14.68
#201871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#201871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201871
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201871 | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #201871; /* rgb */ color: rgb(32, 24, 113); /* oklch */ color: oklch(29.3% 0.144 276.7);
Tailwind
colors: {
custom: {
50: '#69579b',
500: '#201871',
950: '#000000',
},
}SCSS
$custom: #201871; $custom-light: #69579b; $custom-dark: #000000;
JSON
{
"hex": "#201871",
"rgb": {
"r": 32,
"g": 24,
"b": 113
},
"hsl": {
"h": 245.393,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29268,
"c": 0.14412,
"h": 276.7
},
"luminance": 0.02153
}Semantic roles & 50–950 ramp
primary
#201871
secondary
#9DA63E
accent
#E840D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E