#211381#211381
#211381 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.168 H 275.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #211381 |
|---|---|
| RGB | rgb(33, 19, 129) |
| HSL | hsl(248, 74%, 29%) |
| HSV | hsv(248, 85%, 51%) |
| CMYK | cmyk(74.4%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(17.34, 41.39, -58.02) |
| CIE-LCH | lch(17.34, 71.27, 305.51°) |
| OKLab | oklab(30.59% 0.0162 -0.1677) |
| OKLCH | oklch(30.59% 0.168 275.5) |
| XYZ | xyz(4.8212, 2.3736, 20.9687) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.95
Midnight Blue
#191970
ΔE00 3.46
Darkblue
#00008B
ΔE00 3.46
Navy
#000080
ΔE00 3.50
Indigo (survey)
#380282
ΔE00 3.79
Deep Blue
#040273
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211381 #738113
analogous
#133C81 #211381 #581381
triadic
#211381 #812113 #138121
tetradic
#211381 #81133C #738113 #138158
square
#211381 #81133C #738113 #138158
split-complementary
#211381 #815813 #3C8113
monochromatic
#07041B #130B4C #211381 #2F1BB6 #452EE0
Accessibility & contrast
On white
14.24
#211381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#211381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211381
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211381 | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #211381; /* rgb */ color: rgb(33, 19, 129); /* oklch */ color: oklch(30.6% 0.168 275.5);
Tailwind
colors: {
custom: {
50: '#6e55a7',
500: '#211381',
950: '#000000',
},
}SCSS
$custom: #211381; $custom-light: #6e55a7; $custom-dark: #000000;
JSON
{
"hex": "#211381",
"rgb": {
"r": 33,
"g": 19,
"b": 129
},
"hsl": {
"h": 247.636,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.30592,
"c": 0.16849,
"h": 275.5
},
"luminance": 0.02374
}Semantic roles & 50–950 ramp
primary
#211381
secondary
#A6B63A
accent
#F137D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F