#211877#211877
#211877 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.152 H 276.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #211877 |
|---|---|
| RGB | rgb(33, 24, 119) |
| HSL | hsl(246, 66%, 28%) |
| HSV | hsv(246, 80%, 47%) |
| CMYK | cmyk(72.3%, 79.8%, 0%, 53.3%) |
| CIE-LAB | lab(17.03, 35.56, -52.14) |
| CIE-LCH | lch(17.03, 63.12, 304.29°) |
| OKLab | oklab(30.03% 0.0168 -0.1507) |
| OKLCH | oklch(30.03% 0.152 276.4) |
| XYZ | xyz(4.2825, 2.3081, 17.6690) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.61
Dark Royal Blue
#02066F
ΔE00 4.10
Royal
#0C1793
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.49
Darkblue (survey)
#030764
ΔE00 4.74
Navy
#000080
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211877 #6E7718
analogous
#183E77 #211877 #501877
triadic
#211877 #772118 #187721
tetradic
#211877 #77183E #6E7718 #187750
square
#211877 #77183E #6E7718 #187750
split-complementary
#211877 #775018 #3E7718
monochromatic
#070519 #130E44 #211877 #2F22AA #4333D6
Accessibility & contrast
On white
14.37
#211877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#211877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211877
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211877 | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #211877; /* rgb */ color: rgb(33, 24, 119); /* oklch */ color: oklch(30.0% 0.152 276.4);
Tailwind
colors: {
custom: {
50: '#6b579f',
500: '#211877',
950: '#000000',
},
}SCSS
$custom: #211877; $custom-light: #6b579f; $custom-dark: #000000;
JSON
{
"hex": "#211877",
"rgb": {
"r": 33,
"g": 24,
"b": 119
},
"hsl": {
"h": 245.684,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.30027,
"c": 0.15165,
"h": 276.4
},
"luminance": 0.02309
}Semantic roles & 50–950 ramp
primary
#211877
secondary
#A2AC3F
accent
#E93ED9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E