#211978#211978
#211978 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.152 H 276.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #211978 |
|---|---|
| RGB | rgb(33, 25, 120) |
| HSL | hsl(245, 66%, 28%) |
| HSV | hsv(245, 79%, 47%) |
| CMYK | cmyk(72.5%, 79.2%, 0%, 52.9%) |
| CIE-LAB | lab(17.34, 35.33, -52.27) |
| CIE-LCH | lch(17.34, 63.09, 304.06°) |
| OKLab | oklab(30.28% 0.016 -0.1511) |
| OKLCH | oklch(30.28% 0.152 276) |
| XYZ | xyz(4.3639, 2.3743, 17.9940) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.64
Royal
#0C1793
ΔE00 4.20
Dark Royal Blue
#02066F
ΔE00 4.31
Deep Blue
#040273
ΔE00 4.70
Navy
#000080
ΔE00 4.94
Darkblue (survey)
#030764
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211978 #707819
analogous
#194078 #211978 #501978
triadic
#211978 #782119 #197821
tetradic
#211978 #781940 #707819 #197850
square
#211978 #781940 #707819 #197850
split-complementary
#211978 #785019 #407819
monochromatic
#070519 #130E45 #211978 #2F24AB #4436D5
Accessibility & contrast
On white
14.24
#211978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#211978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211978
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211978 | 1.00 | 14.24 | 1.48 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #211978; /* rgb */ color: rgb(33, 25, 120); /* oklch */ color: oklch(30.3% 0.152 276.0);
Tailwind
colors: {
custom: {
50: '#6b58a0',
500: '#211978',
950: '#000000',
},
}SCSS
$custom: #211978; $custom-light: #6b58a0; $custom-dark: #000000;
JSON
{
"hex": "#211978",
"rgb": {
"r": 33,
"g": 25,
"b": 120
},
"hsl": {
"h": 245.053,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.3028,
"c": 0.15194,
"h": 276
},
"luminance": 0.02375
}Semantic roles & 50–950 ramp
primary
#211978
secondary
#A4AD40
accent
#E83FDA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F