#211B7F#211B7F
#211B7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.159 H 274.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #211B7F |
|---|---|
| RGB | rgb(33, 27, 127) |
| HSL | hsl(244, 65%, 30%) |
| HSV | hsv(244, 79%, 50%) |
| CMYK | cmyk(74%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(18.54, 36.58, -54.76) |
| CIE-LCH | lch(18.54, 65.85, 303.74°) |
| OKLab | oklab(31.36% 0.0133 -0.1584) |
| OKLCH | oklch(31.36% 0.159 274.8) |
| XYZ | xyz(4.8486, 2.6390, 20.3284) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 3.26
Dark Royal Blue
#02066F
ΔE00 4.97
Darkblue
#00008B
ΔE00 5.05
Navy
#000080
ΔE00 5.06
Indigo (survey)
#380282
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211B7F #797F1B
analogous
#1B477F #211B7F #531B7F
triadic
#211B7F #7F211B #1B7F21
tetradic
#211B7F #7F1B47 #797F1B #1B7F53
square
#211B7F #7F1B47 #797F1B #1B7F53
split-complementary
#211B7F #7F531B #477F1B
monochromatic
#07061A #14104D #211B7F #2E26B1 #473ED6
Accessibility & contrast
On white
13.74
#211B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#211B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211B7F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211B7F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211b7f; /* rgb */ color: rgb(33, 27, 127); /* oklch */ color: oklch(31.4% 0.159 274.8);
Tailwind
colors: {
custom: {
50: '#6d59a5',
500: '#211b7f',
950: '#000000',
},
}SCSS
$custom: #211b7f; $custom-light: #6d59a5; $custom-dark: #000000;
JSON
{
"hex": "#211b7f",
"rgb": {
"r": 33,
"g": 27,
"b": 127
},
"hsl": {
"h": 243.6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.31358,
"c": 0.15893,
"h": 274.8
},
"luminance": 0.0264
}Semantic roles & 50–950 ramp
primary
#211B7F
secondary
#ACB343
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F