#211879#211879
#211879 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.154 H 276.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #211879 |
|---|---|
| RGB | rgb(33, 24, 121) |
| HSL | hsl(246, 67%, 28%) |
| HSV | hsv(246, 80%, 47%) |
| CMYK | cmyk(72.7%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(17.26, 36.23, -53.05) |
| CIE-LCH | lch(17.26, 64.24, 304.33°) |
| OKLab | oklab(30.26% 0.0163 -0.1533) |
| OKLCH | oklch(30.26% 0.154 276.1) |
| XYZ | xyz(4.4039, 2.3567, 18.3082) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.86
Royal
#0C1793
ΔE00 4.02
Dark Royal Blue
#02066F
ΔE00 4.15
Deep Blue
#040273
ΔE00 4.49
Navy
#000080
ΔE00 4.66
Darkblue (survey)
#030764
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211879 #707918
analogous
#183F79 #211879 #511879
triadic
#211879 #792118 #187921
tetradic
#211879 #79183F #707918 #187951
square
#211879 #79183F #707918 #187951
split-complementary
#211879 #795118 #3F7918
monochromatic
#07051A #130E46 #211879 #2F22AC #4435D7
Accessibility & contrast
On white
14.27
#211879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#211879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211879
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211879 | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #211879; /* rgb */ color: rgb(33, 24, 121); /* oklch */ color: oklch(30.3% 0.154 276.1);
Tailwind
colors: {
custom: {
50: '#6b57a1',
500: '#211879',
950: '#000000',
},
}SCSS
$custom: #211879; $custom-light: #6b57a1; $custom-dark: #000000;
JSON
{
"hex": "#211879",
"rgb": {
"r": 33,
"g": 24,
"b": 121
},
"hsl": {
"h": 245.567,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.30256,
"c": 0.15421,
"h": 276.1
},
"luminance": 0.02357
}Semantic roles & 50–950 ramp
primary
#211879
secondary
#A4AE3F
accent
#EA3EDA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F