#211888#211888
#211888 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.173 H 274.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #211888 |
|---|---|
| RGB | rgb(33, 24, 136) |
| HSL | hsl(245, 70%, 31%) |
| HSV | hsv(245, 82%, 53%) |
| CMYK | cmyk(75.7%, 82.4%, 0%, 46.7%) |
| CIE-LAB | lab(19.03, 41.19, -59.63) |
| CIE-LCH | lch(19.03, 72.47, 304.63°) |
| OKLab | oklab(32.01% 0.0123 -0.1725) |
| OKLCH | oklch(32.01% 0.173 274.1) |
| XYZ | xyz(5.3963, 2.7536, 23.5349) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Midnight Blue
#191970
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.01
Navy
#000080
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 4.52
Cobalt Blue
#030AA7
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211888 #7F8818
analogous
#184788 #211888 #591888
triadic
#211888 #882118 #188821
tetradic
#211888 #881847 #7F8818 #188859
square
#211888 #881847 #7F8818 #188859
split-complementary
#211888 #885918 #478818
monochromatic
#080620 #140F54 #211888 #2E21BC #4A3EDD
Accessibility & contrast
On white
13.54
#211888 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211888 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211888
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211888 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211888 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 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: #211888; /* rgb */ color: rgb(33, 24, 136); /* oklch */ color: oklch(32.0% 0.173 274.1);
Tailwind
colors: {
custom: {
50: '#6f58ac',
500: '#211888',
950: '#000000',
},
}SCSS
$custom: #211888; $custom-light: #6f58ac; $custom-dark: #000000;
JSON
{
"hex": "#211888",
"rgb": {
"r": 33,
"g": 24,
"b": 136
},
"hsl": {
"h": 244.821,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.32012,
"c": 0.17292,
"h": 274.1
},
"luminance": 0.02754
}Semantic roles & 50–950 ramp
primary
#211888
secondary
#B2BC40
accent
#ED3BDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F