#211789#211789
#211789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.175 H 274.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #211789 |
|---|---|
| RGB | rgb(33, 23, 137) |
| HSL | hsl(245, 71%, 31%) |
| HSV | hsv(245, 83%, 54%) |
| CMYK | cmyk(75.9%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.98, 42.01, -60.34) |
| CIE-LCH | lch(18.98, 73.53, 304.84°) |
| OKLab | oklab(32.01% 0.0124 -0.1745) |
| OKLCH | oklch(32.01% 0.175 274.1) |
| XYZ | xyz(5.4475, 2.7417, 23.9042) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.85
Darkblue
#00008B
ΔE00 3.81
Midnight Blue
#191970
ΔE00 4.18
Navy
#000080
ΔE00 4.33
Cobalt Blue
#030AA7
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211789 #7F8917
analogous
#174689 #211789 #5A1789
triadic
#211789 #892117 #178921
tetradic
#211789 #891746 #7F8917 #17895A
square
#211789 #891746 #7F8917 #17895A
split-complementary
#211789 #895A17 #468917
monochromatic
#080520 #140E55 #211789 #2E20BD #4A3CDE
Accessibility & contrast
On white
13.56
#211789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211789
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211789 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211789; /* rgb */ color: rgb(33, 23, 137); /* oklch */ color: oklch(32.0% 0.175 274.1);
Tailwind
colors: {
custom: {
50: '#6f58ad',
500: '#211789',
950: '#000000',
},
}SCSS
$custom: #211789; $custom-light: #6f58ad; $custom-dark: #000000;
JSON
{
"hex": "#211789",
"rgb": {
"r": 33,
"g": 23,
"b": 137
},
"hsl": {
"h": 245.263,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.32012,
"c": 0.17497,
"h": 274.1
},
"luminance": 0.02742
}Semantic roles & 50–950 ramp
primary
#211789
secondary
#B2BD3F
accent
#EE3ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F