#211887#211887
#211887 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.172 H 274.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #211887 |
|---|---|
| RGB | rgb(33, 24, 135) |
| HSL | hsl(245, 70%, 31%) |
| HSV | hsv(245, 82%, 53%) |
| CMYK | cmyk(75.6%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(18.91, 40.86, -59.20) |
| CIE-LCH | lch(18.91, 71.94, 304.61°) |
| OKLab | oklab(31.89% 0.0126 -0.1712) |
| OKLCH | oklch(31.89% 0.172 274.2) |
| XYZ | xyz(5.3256, 2.7253, 23.1623) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.07
Midnight Blue
#191970
ΔE00 3.84
Darkblue
#00008B
ΔE00 4.04
Navy
#000080
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 4.51
Cobalt Blue
#030AA7
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211887 #7E8718
analogous
#184687 #211887 #581887
triadic
#211887 #872118 #188721
tetradic
#211887 #871846 #7E8718 #188758
square
#211887 #871846 #7E8718 #188758
split-complementary
#211887 #875818 #468718
monochromatic
#08061F #140F53 #211887 #2E21BB #4A3DDC
Accessibility & contrast
On white
13.59
#211887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211887
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211887 | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211887; /* rgb */ color: rgb(33, 24, 135); /* oklch */ color: oklch(31.9% 0.172 274.2);
Tailwind
colors: {
custom: {
50: '#6f58ab',
500: '#211887',
950: '#000000',
},
}SCSS
$custom: #211887; $custom-light: #6f58ab; $custom-dark: #000000;
JSON
{
"hex": "#211887",
"rgb": {
"r": 33,
"g": 24,
"b": 135
},
"hsl": {
"h": 244.865,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.31893,
"c": 0.17169,
"h": 274.2
},
"luminance": 0.02726
}Semantic roles & 50–950 ramp
primary
#211887
secondary
#B1BB40
accent
#ED3BDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F