#211F7D#211F7D
#211F7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.152 H 274.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #211F7D |
|---|---|
| RGB | rgb(33, 31, 125) |
| HSL | hsl(241, 60%, 31%) |
| HSV | hsv(241, 75%, 49%) |
| CMYK | cmyk(73.6%, 75.2%, 0%, 51%) |
| CIE-LAB | lab(19.16, 33.51, -52.47) |
| CIE-LCH | lch(19.16, 62.26, 302.56°) |
| OKLab | oklab(31.73% 0.0115 -0.1517) |
| OKLCH | oklch(31.73% 0.152 274.3) |
| XYZ | xyz(4.8176, 2.7835, 19.6814) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 3.97
Dark Royal Blue
#02066F
ΔE00 5.71
Navy
#000080
ΔE00 6.10
Deep Blue
#040273
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F7D #7B7D1F
analogous
#1F4C7D #211F7D #501F7D
triadic
#211F7D #7D211F #1F7D21
tetradic
#211F7D #7D1F4C #7B7D1F #1F7D50
square
#211F7D #7D1F4C #7B7D1F #1F7D50
split-complementary
#211F7D #7D501F #4C7D1F
monochromatic
#07071B #14134C #211F7D #2E2BAE #4845D1
Accessibility & contrast
On white
13.49
#211F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#211F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F7D
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F7D | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211f7d; /* rgb */ color: rgb(33, 31, 125); /* oklch */ color: oklch(31.7% 0.152 274.3);
Tailwind
colors: {
custom: {
50: '#6c5ca4',
500: '#211f7d',
950: '#000000',
},
}SCSS
$custom: #211f7d; $custom-light: #6c5ca4; $custom-dark: #000000;
JSON
{
"hex": "#211f7d",
"rgb": {
"r": 33,
"g": 31,
"b": 125
},
"hsl": {
"h": 241.277,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.3173,
"c": 0.15217,
"h": 274.3
},
"luminance": 0.02784
}Semantic roles & 50–950 ramp
primary
#211F7D
secondary
#AEB048
accent
#E344E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F