#211581#211581
#211581 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 275.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #211581 |
|---|---|
| RGB | rgb(33, 21, 129) |
| HSL | hsl(247, 72%, 29%) |
| HSV | hsv(247, 84%, 51%) |
| CMYK | cmyk(74.4%, 83.7%, 0%, 49.4%) |
| CIE-LAB | lab(17.66, 40.43, -57.48) |
| CIE-LCH | lch(17.66, 70.27, 305.13°) |
| OKLab | oklab(30.82% 0.0154 -0.1662) |
| OKLCH | oklch(30.82% 0.167 275.3) |
| XYZ | xyz(4.8565, 2.4442, 20.9805) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Midnight Blue
#191970
ΔE00 3.24
Darkblue
#00008B
ΔE00 3.77
Navy
#000080
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211581 #758115
analogous
#153F81 #211581 #571581
triadic
#211581 #812115 #158121
tetradic
#211581 #81153F #758115 #158157
square
#211581 #81153F #758115 #158157
split-complementary
#211581 #815715 #3F8115
monochromatic
#07041A #140C4C #211581 #2E1EB6 #4633DE
Accessibility & contrast
On white
14.10
#211581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#211581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211581
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211581 | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #211581; /* rgb */ color: rgb(33, 21, 129); /* oklch */ color: oklch(30.8% 0.167 275.3);
Tailwind
colors: {
custom: {
50: '#6e56a7',
500: '#211581',
950: '#000000',
},
}SCSS
$custom: #211581; $custom-light: #6e56a7; $custom-dark: #000000;
JSON
{
"hex": "#211581",
"rgb": {
"r": 33,
"g": 21,
"b": 129
},
"hsl": {
"h": 246.667,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.30818,
"c": 0.16688,
"h": 275.3
},
"luminance": 0.02445
}Semantic roles & 50–950 ramp
primary
#211581
secondary
#A8B63C
accent
#EF39DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F