#211786#211786
#211786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.171 H 274.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #211786 |
|---|---|
| RGB | rgb(33, 23, 134) |
| HSL | hsl(245, 71%, 31%) |
| HSV | hsv(245, 83%, 53%) |
| CMYK | cmyk(75.4%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.61, 41.04, -59.06) |
| CIE-LCH | lch(18.61, 71.92, 304.80°) |
| OKLab | oklab(31.65% 0.0133 -0.1708) |
| OKLCH | oklch(31.65% 0.171 274.4) |
| XYZ | xyz(5.2352, 2.6568, 22.7865) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.19
Midnight Blue
#191970
ΔE00 3.76
Darkblue
#00008B
ΔE00 3.88
Navy
#000080
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 4.34
Cobalt Blue
#030AA7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211786 #7C8617
analogous
#174586 #211786 #581786
triadic
#211786 #862117 #178621
tetradic
#211786 #861745 #7C8617 #178658
square
#211786 #861745 #7C8617 #178658
split-complementary
#211786 #865817 #458617
monochromatic
#07051E #140E52 #211786 #2E20BA #493ADD
Accessibility & contrast
On white
13.71
#211786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#211786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211786
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211786 | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211786; /* rgb */ color: rgb(33, 23, 134); /* oklch */ color: oklch(31.7% 0.171 274.4);
Tailwind
colors: {
custom: {
50: '#6f58aa',
500: '#211786',
950: '#000000',
},
}SCSS
$custom: #211786; $custom-light: #6f58aa; $custom-dark: #000000;
JSON
{
"hex": "#211786",
"rgb": {
"r": 33,
"g": 23,
"b": 134
},
"hsl": {
"h": 245.405,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.31653,
"c": 0.17132,
"h": 274.4
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#211786
secondary
#AFBA3F
accent
#ED3ADD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F