#211882#211882
#211882 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.166 H 274.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #211882 |
|---|---|
| RGB | rgb(33, 24, 130) |
| HSL | hsl(245, 69%, 30%) |
| HSV | hsv(245, 82%, 51%) |
| CMYK | cmyk(74.6%, 81.5%, 0%, 49%) |
| CIE-LAB | lab(18.31, 39.23, -57.04) |
| CIE-LCH | lch(18.31, 69.22, 304.52°) |
| OKLab | oklab(31.3% 0.0139 -0.165) |
| OKLCH | oklch(31.3% 0.166 274.8) |
| XYZ | xyz(4.9818, 2.5878, 21.3517) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Midnight Blue
#191970
ΔE00 3.12
Darkblue
#00008B
ΔE00 4.25
Navy
#000080
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.54
Dark Royal Blue
#02066F
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211882 #798218
analogous
#184482 #211882 #561882
triadic
#211882 #822118 #188221
tetradic
#211882 #821844 #798218 #188256
square
#211882 #821844 #798218 #188256
split-complementary
#211882 #825618 #448218
monochromatic
#07051B #140E4E #211882 #2E22B6 #473ADB
Accessibility & contrast
On white
13.84
#211882 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#211882 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211882
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211882 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211882 | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211882; /* rgb */ color: rgb(33, 24, 130); /* oklch */ color: oklch(31.3% 0.166 274.8);
Tailwind
colors: {
custom: {
50: '#6e58a8',
500: '#211882',
950: '#000000',
},
}SCSS
$custom: #211882; $custom-light: #6e58a8; $custom-dark: #000000;
JSON
{
"hex": "#211882",
"rgb": {
"r": 33,
"g": 24,
"b": 130
},
"hsl": {
"h": 245.094,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.31303,
"c": 0.16554,
"h": 274.8
},
"luminance": 0.02588
}Semantic roles & 50–950 ramp
primary
#211882
secondary
#ACB640
accent
#EC3CDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F