#221789#221789
#221789 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.175 H 274.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #221789 |
|---|---|
| RGB | rgb(34, 23, 137) |
| HSL | hsl(246, 71%, 31%) |
| HSV | hsv(246, 83%, 54%) |
| CMYK | cmyk(75.2%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(19.05, 42.08, -60.22) |
| CIE-LCH | lch(19.05, 73.47, 304.94°) |
| OKLab | oklab(32.08% 0.0138 -0.1742) |
| OKLCH | oklch(32.08% 0.175 274.5) |
| XYZ | xyz(5.4799, 2.7585, 23.9057) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.92
Darkblue
#00008B
ΔE00 3.85
Midnight Blue
#191970
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 4.30
Navy
#000080
ΔE00 4.36
Cobalt Blue
#030AA7
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221789 #7E8917
analogous
#174589 #221789 #5B1789
triadic
#221789 #892217 #178922
tetradic
#221789 #891745 #7E8917 #17895B
square
#221789 #891745 #7E8917 #17895B
split-complementary
#221789 #895B17 #458917
monochromatic
#080520 #150E55 #221789 #2F20BD #4C3CDE
Accessibility & contrast
On white
13.53
#221789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#221789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221789
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221789 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 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: #221789; /* rgb */ color: rgb(34, 23, 137); /* oklch */ color: oklch(32.1% 0.175 274.5);
Tailwind
colors: {
custom: {
50: '#7058ad',
500: '#221789',
950: '#000000',
},
}SCSS
$custom: #221789; $custom-light: #7058ad; $custom-dark: #000000;
JSON
{
"hex": "#221789",
"rgb": {
"r": 34,
"g": 23,
"b": 137
},
"hsl": {
"h": 245.789,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.3208,
"c": 0.17471,
"h": 274.5
},
"luminance": 0.02759
}Semantic roles & 50–950 ramp
primary
#221789
secondary
#B1BD3F
accent
#EE3ADD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F