#211D7F#211D7F
#211D7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.157 H 274.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #211D7F |
|---|---|
| RGB | rgb(33, 29, 127) |
| HSL | hsl(242, 63%, 31%) |
| HSV | hsv(242, 77%, 50%) |
| CMYK | cmyk(74%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(18.95, 35.42, -54.09) |
| CIE-LCH | lch(18.95, 64.65, 303.22°) |
| OKLab | oklab(31.65% 0.0122 -0.1564) |
| OKLCH | oklch(31.65% 0.157 274.5) |
| XYZ | xyz(4.8961, 2.7339, 20.3442) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 3.44
Dark Royal Blue
#02066F
ΔE00 5.35
Darkblue
#00008B
ΔE00 5.50
Navy
#000080
ΔE00 5.53
Indigo (survey)
#380282
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211D7F #7B7F1D
analogous
#1D4A7F #211D7F #521D7F
triadic
#211D7F #7F211D #1D7F21
tetradic
#211D7F #7F1D4A #7B7F1D #1D7F52
square
#211D7F #7F1D4A #7B7F1D #1D7F52
split-complementary
#211D7F #7F521D #4A7F1D
monochromatic
#07061B #14124D #211D7F #2E28B1 #4842D4
Accessibility & contrast
On white
13.58
#211D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211D7F
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211D7F | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211d7f; /* rgb */ color: rgb(33, 29, 127); /* oklch */ color: oklch(31.6% 0.157 274.5);
Tailwind
colors: {
custom: {
50: '#6c5ba5',
500: '#211d7f',
950: '#000000',
},
}SCSS
$custom: #211d7f; $custom-light: #6c5ba5; $custom-dark: #000000;
JSON
{
"hex": "#211d7f",
"rgb": {
"r": 33,
"g": 29,
"b": 127
},
"hsl": {
"h": 242.449,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.31646,
"c": 0.15691,
"h": 274.5
},
"luminance": 0.02734
}Semantic roles & 50–950 ramp
primary
#211D7F
secondary
#AEB245
accent
#E642DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F