#211F87#211F87
#211F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.165 H 273.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #211F87 |
|---|---|
| RGB | rgb(33, 31, 135) |
| HSL | hsl(241, 63%, 33%) |
| HSV | hsv(241, 77%, 53%) |
| CMYK | cmyk(75.6%, 77%, 0%, 47.1%) |
| CIE-LAB | lab(20.25, 37.01, -56.98) |
| CIE-LCH | lch(20.25, 67.95, 303.00°) |
| OKLab | oklab(32.84% 0.0096 -0.1649) |
| OKLCH | oklch(32.84% 0.165 273.3) |
| XYZ | xyz(5.4889, 3.0520, 23.2168) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Midnight Blue
#191970
ΔE00 3.76
Darkblue
#00008B
ΔE00 5.54
Cobalt Blue
#030AA7
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.88
Navy
#000080
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F87 #85871F
analogous
#1F5187 #211F87 #551F87
triadic
#211F87 #87211F #1F8721
tetradic
#211F87 #871F51 #85871F #1F8755
square
#211F87 #871F51 #85871F #1F8755
split-complementary
#211F87 #87551F #51871F
monochromatic
#090823 #151455 #211F87 #2D2AB9 #4D4BD6
Accessibility & contrast
On white
13.04
#211F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#211F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F87
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F87 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #211f87; /* rgb */ color: rgb(33, 31, 135); /* oklch */ color: oklch(32.8% 0.165 273.3);
Tailwind
colors: {
custom: {
50: '#6e5cab',
500: '#211f87',
950: '#000000',
},
}SCSS
$custom: #211f87; $custom-light: #6e5cab; $custom-dark: #000000;
JSON
{
"hex": "#211f87",
"rgb": {
"r": 33,
"g": 31,
"b": 135
},
"hsl": {
"h": 241.154,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.32835,
"c": 0.16515,
"h": 273.3
},
"luminance": 0.03053
}Semantic roles & 50–950 ramp
primary
#211F87
secondary
#B6B84A
accent
#E642E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F