#211790#211790
#211790 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.183 H 273.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #211790 |
|---|---|
| RGB | rgb(33, 23, 144) |
| HSL | hsl(245, 72%, 33%) |
| HSV | hsv(245, 84%, 56%) |
| CMYK | cmyk(77.1%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(19.84, 44.23, -63.29) |
| CIE-LCH | lch(19.84, 77.21, 304.95°) |
| OKLab | oklab(32.86% 0.0105 -0.1831) |
| OKLCH | oklch(32.86% 0.183 273.3) |
| XYZ | xyz(5.9660, 2.9491, 26.6350) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.34
Cobalt Blue
#030AA7
ΔE00 3.48
Darkblue
#00008B
ΔE00 3.87
Royal Blue (survey)
#0504AA
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 4.62
Navy
#000080
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211790 #869017
analogous
#174990 #211790 #5E1790
triadic
#211790 #902117 #179021
tetradic
#211790 #901749 #869017 #17905E
square
#211790 #901749 #869017 #17905E
split-complementary
#211790 #905E17 #499017
monochromatic
#090626 #150F5B #211790 #2D1FC5 #4E41E1
Accessibility & contrast
On white
13.21
#211790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#211790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211790
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211790 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #211790; /* rgb */ color: rgb(33, 23, 144); /* oklch */ color: oklch(32.9% 0.183 273.3);
Tailwind
colors: {
custom: {
50: '#7158b2',
500: '#211790',
950: '#000000',
},
}SCSS
$custom: #211790; $custom-light: #7158b2; $custom-dark: #000000;
JSON
{
"hex": "#211790",
"rgb": {
"r": 33,
"g": 23,
"b": 144
},
"hsl": {
"h": 244.959,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32856,
"c": 0.18337,
"h": 273.3
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#211790
secondary
#B7C142
accent
#EF39E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980