#211771#211771
#211771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.145 H 277.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #211771 |
|---|---|
| RGB | rgb(33, 23, 113) |
| HSL | hsl(247, 66%, 27%) |
| HSV | hsv(247, 80%, 44%) |
| CMYK | cmyk(70.8%, 79.6%, 0%, 55.7%) |
| CIE-LAB | lab(16.15, 34.10, -49.73) |
| CIE-LCH | lch(16.15, 60.29, 304.44°) |
| OKLab | oklab(29.2% 0.0189 -0.1437) |
| OKLCH | oklch(29.2% 0.145 277.5) |
| XYZ | xyz(3.9133, 2.1280, 15.8241) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.26
Dark Royal Blue
#02066F
ΔE00 3.91
Darkblue (survey)
#030764
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.44
Navy
#000080
ΔE00 5.11
Royal
#0C1793
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211771 #677117
analogous
#173A71 #211771 #4E1771
triadic
#211771 #712117 #177121
tetradic
#211771 #71173A #677117 #17714E
square
#211771 #71173A #677117 #17714E
split-complementary
#211771 #714E17 #3A7117
monochromatic
#070519 #120D3E #211771 #3021A4 #402ED4
Accessibility & contrast
On white
14.73
#211771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#211771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211771
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211771 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #211771; /* rgb */ color: rgb(33, 23, 113); /* oklch */ color: oklch(29.2% 0.145 277.5);
Tailwind
colors: {
custom: {
50: '#69569b',
500: '#211771',
950: '#000000',
},
}SCSS
$custom: #211771; $custom-light: #69569b; $custom-dark: #000000;
JSON
{
"hex": "#211771",
"rgb": {
"r": 33,
"g": 23,
"b": 113
},
"hsl": {
"h": 246.667,
"s": 66.176,
"l": 26.667
},
"oklch": {
"l": 0.29204,
"c": 0.14492,
"h": 277.5
},
"luminance": 0.02128
}Semantic roles & 50–950 ramp
primary
#211771
secondary
#9BA73D
accent
#E93FD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E