#211181#211181
#211181 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.170 H 275.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #211181 |
|---|---|
| RGB | rgb(33, 17, 129) |
| HSL | hsl(249, 77%, 29%) |
| HSV | hsv(249, 87%, 51%) |
| CMYK | cmyk(74.4%, 86.8%, 0%, 49.4%) |
| CIE-LAB | lab(17.03, 42.30, -58.53) |
| CIE-LCH | lch(17.03, 72.21, 305.86°) |
| OKLab | oklab(30.38% 0.0169 -0.1691) |
| OKLCH | oklch(30.38% 0.17 275.7) |
| XYZ | xyz(4.7888, 2.3087, 20.9579) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.08
Darkblue
#00008B
ΔE00 3.19
Navy
#000080
ΔE00 3.20
Indigo (survey)
#380282
ΔE00 3.56
Midnight Blue
#191970
ΔE00 3.69
Deep Blue
#040273
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211181 #718111
analogous
#113981 #211181 #591181
triadic
#211181 #812111 #118121
tetradic
#211181 #811139 #718111 #118159
square
#211181 #811139 #718111 #118159
split-complementary
#211181 #815911 #398111
monochromatic
#07041B #130A4B #211181 #2F18B7 #442AE3
Accessibility & contrast
On white
14.37
#211181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#211181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211181
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211181 | 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)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #211181; /* rgb */ color: rgb(33, 17, 129); /* oklch */ color: oklch(30.4% 0.170 275.7);
Tailwind
colors: {
custom: {
50: '#6e54a7',
500: '#211181',
950: '#000000',
},
}SCSS
$custom: #211181; $custom-light: #6e54a7; $custom-dark: #000000;
JSON
{
"hex": "#211181",
"rgb": {
"r": 33,
"g": 17,
"b": 129
},
"hsl": {
"h": 248.571,
"s": 76.712,
"l": 28.627
},
"oklch": {
"l": 0.30381,
"c": 0.16999,
"h": 275.7
},
"luminance": 0.02309
}Semantic roles & 50–950 ramp
primary
#211181
secondary
#A5B737
accent
#F335D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F