#211878#211878
#211878 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.153 H 276.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #211878 |
|---|---|
| RGB | rgb(33, 24, 120) |
| HSL | hsl(246, 67%, 28%) |
| HSV | hsv(246, 80%, 47%) |
| CMYK | cmyk(72.5%, 80%, 0%, 52.9%) |
| CIE-LAB | lab(17.14, 35.90, -52.60) |
| CIE-LCH | lch(17.14, 63.68, 304.31°) |
| OKLab | oklab(30.14% 0.0165 -0.152) |
| OKLCH | oklch(30.14% 0.153 276.2) |
| XYZ | xyz(4.3429, 2.3323, 17.9870) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.73
Dark Royal Blue
#02066F
ΔE00 4.12
Royal
#0C1793
ΔE00 4.17
Deep Blue
#040273
ΔE00 4.49
Navy
#000080
ΔE00 4.72
Darkblue (survey)
#030764
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211878 #6F7818
analogous
#183F78 #211878 #511878
triadic
#211878 #782118 #187821
tetradic
#211878 #78183F #6F7818 #187851
square
#211878 #78183F #6F7818 #187851
split-complementary
#211878 #785118 #3F7818
monochromatic
#07051A #130E45 #211878 #2F22AB #4334D6
Accessibility & contrast
On white
14.32
#211878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#211878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211878
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211878 | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #211878; /* rgb */ color: rgb(33, 24, 120); /* oklch */ color: oklch(30.1% 0.153 276.2);
Tailwind
colors: {
custom: {
50: '#6b57a0',
500: '#211878',
950: '#000000',
},
}SCSS
$custom: #211878; $custom-light: #6b57a0; $custom-dark: #000000;
JSON
{
"hex": "#211878",
"rgb": {
"r": 33,
"g": 24,
"b": 120
},
"hsl": {
"h": 245.625,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.30141,
"c": 0.15293,
"h": 276.2
},
"luminance": 0.02333
}Semantic roles & 50–950 ramp
primary
#211878
secondary
#A3AD3F
accent
#EA3EDA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F