#211F7F#211F7F
#211F7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.155 H 274.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #211F7F |
|---|---|
| RGB | rgb(33, 31, 127) |
| HSL | hsl(241, 61%, 31%) |
| HSV | hsv(241, 76%, 50%) |
| CMYK | cmyk(74%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(19.37, 34.22, -53.38) |
| CIE-LCH | lch(19.37, 63.41, 302.66°) |
| OKLab | oklab(31.95% 0.0111 -0.1544) |
| OKLCH | oklch(31.95% 0.155 274.1) |
| XYZ | xyz(4.9467, 2.8351, 20.3611) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 3.69
Dark Royal Blue
#02066F
ΔE00 5.78
Darkblue
#00008B
ΔE00 5.97
Navy
#000080
ΔE00 6.02
Indigo (survey)
#380282
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F7F #7D7F1F
analogous
#1F4D7F #211F7F #511F7F
triadic
#211F7F #7F211F #1F7F21
tetradic
#211F7F #7F1F4D #7D7F1F #1F7F51
square
#211F7F #7F1F4D #7D7F1F #1F7F51
split-complementary
#211F7F #7F511F #4D7F1F
monochromatic
#07071D #14134E #211F7F #2E2BB0 #4946D2
Accessibility & contrast
On white
13.40
#211F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#211F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F7F
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F7F | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #211f7f; /* rgb */ color: rgb(33, 31, 127); /* oklch */ color: oklch(31.9% 0.155 274.1);
Tailwind
colors: {
custom: {
50: '#6c5ca5',
500: '#211f7f',
950: '#000000',
},
}SCSS
$custom: #211f7f; $custom-light: #6c5ca5; $custom-dark: #000000;
JSON
{
"hex": "#211f7f",
"rgb": {
"r": 33,
"g": 31,
"b": 127
},
"hsl": {
"h": 241.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.31949,
"c": 0.1548,
"h": 274.1
},
"luminance": 0.02836
}Semantic roles & 50–950 ramp
primary
#211F7F
secondary
#B0B248
accent
#E444E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F