#211788#211788
#211788 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.174 H 274.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #211788 |
|---|---|
| RGB | rgb(33, 23, 136) |
| HSL | hsl(245, 71%, 31%) |
| HSV | hsv(245, 83%, 53%) |
| CMYK | cmyk(75.7%, 83.1%, 0%, 46.7%) |
| CIE-LAB | lab(18.86, 41.69, -59.92) |
| CIE-LCH | lch(18.86, 72.99, 304.83°) |
| OKLab | oklab(31.89% 0.0127 -0.1733) |
| OKLCH | oklch(31.89% 0.174 274.2) |
| XYZ | xyz(5.3761, 2.7132, 23.5281) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Darkblue
#00008B
ΔE00 3.83
Midnight Blue
#191970
ΔE00 4.04
Navy
#000080
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 4.36
Cobalt Blue
#030AA7
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211788 #7E8817
analogous
#174588 #211788 #591788
triadic
#211788 #882117 #178821
tetradic
#211788 #881745 #7E8817 #178859
square
#211788 #881745 #7E8817 #178859
split-complementary
#211788 #885917 #458817
monochromatic
#08051F #140E54 #211788 #2E20BC #4A3BDE
Accessibility & contrast
On white
13.61
#211788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#211788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211788
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211788 | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211788; /* rgb */ color: rgb(33, 23, 136); /* oklch */ color: oklch(31.9% 0.174 274.2);
Tailwind
colors: {
custom: {
50: '#6f58ac',
500: '#211788',
950: '#000000',
},
}SCSS
$custom: #211788; $custom-light: #6f58ac; $custom-dark: #000000;
JSON
{
"hex": "#211788",
"rgb": {
"r": 33,
"g": 23,
"b": 136
},
"hsl": {
"h": 245.31,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.31892,
"c": 0.17375,
"h": 274.2
},
"luminance": 0.02714
}Semantic roles & 50–950 ramp
primary
#211788
secondary
#B1BC3F
accent
#EE3ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F