#211871#211871
#211871 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.144 H 277.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #211871 |
|---|---|
| RGB | rgb(33, 24, 113) |
| HSL | hsl(246, 65%, 27%) |
| HSV | hsv(246, 79%, 44%) |
| CMYK | cmyk(70.8%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(16.35, 33.52, -49.39) |
| CIE-LCH | lch(16.35, 59.69, 304.16°) |
| OKLab | oklab(29.35% 0.0183 -0.1427) |
| OKLCH | oklch(29.35% 0.144 277.3) |
| XYZ | xyz(3.9335, 2.1685, 15.8309) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.10
Dark Royal Blue
#02066F
ΔE00 4.11
Darkblue (survey)
#030764
ΔE00 4.37
Deep Blue
#040273
ΔE00 4.66
Royal
#0C1793
ΔE00 5.29
Navy
#000080
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211871 #687118
analogous
#183C71 #211871 #4E1871
triadic
#211871 #712118 #187121
tetradic
#211871 #71183C #687118 #18714E
square
#211871 #71183C #687118 #18714E
split-complementary
#211871 #714E18 #3C7118
monochromatic
#070519 #120D3F #211871 #3023A3 #4130D3
Accessibility & contrast
On white
14.65
#211871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#211871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211871
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211871 | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #211871; /* rgb */ color: rgb(33, 24, 113); /* oklch */ color: oklch(29.3% 0.144 277.3);
Tailwind
colors: {
custom: {
50: '#69579b',
500: '#211871',
950: '#000000',
},
}SCSS
$custom: #211871; $custom-light: #69579b; $custom-dark: #000000;
JSON
{
"hex": "#211871",
"rgb": {
"r": 33,
"g": 24,
"b": 113
},
"hsl": {
"h": 246.067,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29346,
"c": 0.14388,
"h": 277.3
},
"luminance": 0.02169
}Semantic roles & 50–950 ramp
primary
#211871
secondary
#9CA63E
accent
#E840D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E