#211477#211477
#211477 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.155 H 276.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #211477 |
|---|---|
| RGB | rgb(33, 20, 119) |
| HSL | hsl(248, 71%, 27%) |
| HSV | hsv(248, 83%, 47%) |
| CMYK | cmyk(72.3%, 83.2%, 0%, 53.3%) |
| CIE-LAB | lab(16.28, 37.71, -53.38) |
| CIE-LCH | lch(16.28, 65.35, 305.24°) |
| OKLab | oklab(29.51% 0.0188 -0.1543) |
| OKLCH | oklch(29.51% 0.155 276.9) |
| XYZ | xyz(4.2060, 2.1552, 17.6435) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.21
Dark Royal Blue
#02066F
ΔE00 3.44
Deep Blue
#040273
ΔE00 3.72
Navy
#000080
ΔE00 4.03
Darkblue (survey)
#030764
ΔE00 4.26
Royal
#0C1793
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211477 #6A7714
analogous
#143877 #211477 #531477
triadic
#211477 #772114 #147721
tetradic
#211477 #771438 #6A7714 #147753
square
#211477 #771438 #6A7714 #147753
split-complementary
#211477 #775314 #387714
monochromatic
#07041A #120B43 #211477 #301DAB #412ADB
Accessibility & contrast
On white
14.67
#211477 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#211477 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211477
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211477 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211477 | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #211477; /* rgb */ color: rgb(33, 20, 119); /* oklch */ color: oklch(29.5% 0.155 276.9);
Tailwind
colors: {
custom: {
50: '#6b559f',
500: '#211477',
950: '#000000',
},
}SCSS
$custom: #211477; $custom-light: #6b559f; $custom-dark: #000000;
JSON
{
"hex": "#211477",
"rgb": {
"r": 33,
"g": 20,
"b": 119
},
"hsl": {
"h": 247.879,
"s": 71.223,
"l": 27.255
},
"oklch": {
"l": 0.29506,
"c": 0.1554,
"h": 276.9
},
"luminance": 0.02156
}Semantic roles & 50–950 ramp
primary
#211477
secondary
#9EAD3A
accent
#EE3AD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E