#211F82#211F82
#211F82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.159 H 273.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #211F82 |
|---|---|
| RGB | rgb(33, 31, 130) |
| HSL | hsl(241, 61%, 32%) |
| HSV | hsv(241, 76%, 51%) |
| CMYK | cmyk(74.6%, 76.2%, 0%, 49%) |
| CIE-LAB | lab(19.70, 35.27, -54.75) |
| CIE-LCH | lch(19.70, 65.12, 302.79°) |
| OKLab | oklab(32.28% 0.0106 -0.1584) |
| OKLCH | oklch(32.28% 0.159 273.8) |
| XYZ | xyz(5.1451, 2.9145, 21.4062) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 3.29
Darkblue
#00008B
ΔE00 5.77
Dark Royal Blue
#02066F
ΔE00 5.91
Navy
#000080
ΔE00 5.94
Indigo (survey)
#380282
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F82 #80821F
analogous
#1F4F82 #211F82 #531F82
triadic
#211F82 #82211F #1F8221
tetradic
#211F82 #821F4F #80821F #1F8253
square
#211F82 #821F4F #80821F #1F8253
split-complementary
#211F82 #82531F #4F821F
monochromatic
#08071F #141351 #211F82 #2E2BB3 #4B48D3
Accessibility & contrast
On white
13.27
#211F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#211F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F82
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F82 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #211f82; /* rgb */ color: rgb(33, 31, 130); /* oklch */ color: oklch(32.3% 0.159 273.8);
Tailwind
colors: {
custom: {
50: '#6d5ca7',
500: '#211f82',
950: '#000000',
},
}SCSS
$custom: #211f82; $custom-light: #6d5ca7; $custom-dark: #000000;
JSON
{
"hex": "#211f82",
"rgb": {
"r": 33,
"g": 31,
"b": 130
},
"hsl": {
"h": 241.212,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.32279,
"c": 0.15871,
"h": 273.8
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#211F82
secondary
#B3B548
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F