#221889#221889
#221889 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.174 H 274.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #221889 |
|---|---|
| RGB | rgb(34, 24, 137) |
| HSL | hsl(245, 70%, 32%) |
| HSV | hsv(245, 82%, 54%) |
| CMYK | cmyk(75.2%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(19.22, 41.59, -59.94) |
| CIE-LCH | lch(19.22, 72.96, 304.75°) |
| OKLab | oklab(32.2% 0.0134 -0.1733) |
| OKLCH | oklch(32.2% 0.174 274.4) |
| XYZ | xyz(5.5002, 2.7989, 23.9124) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.91
Darkblue
#00008B
ΔE00 4.02
Midnight Blue
#191970
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 4.46
Navy
#000080
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221889 #7F8918
analogous
#184789 #221889 #5B1889
triadic
#221889 #892218 #188922
tetradic
#221889 #891847 #7F8918 #18895B
square
#221889 #891847 #7F8918 #18895B
split-complementary
#221889 #895B18 #478918
monochromatic
#080621 #150F55 #221889 #2F21BD #4C3EDD
Accessibility & contrast
On white
13.46
#221889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#221889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221889
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221889 | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #221889; /* rgb */ color: rgb(34, 24, 137); /* oklch */ color: oklch(32.2% 0.174 274.4);
Tailwind
colors: {
custom: {
50: '#7058ad',
500: '#221889',
950: '#000000',
},
}SCSS
$custom: #221889; $custom-light: #7058ad; $custom-dark: #000000;
JSON
{
"hex": "#221889",
"rgb": {
"r": 34,
"g": 24,
"b": 137
},
"hsl": {
"h": 245.31,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.32198,
"c": 0.17387,
"h": 274.4
},
"luminance": 0.02799
}Semantic roles & 50–950 ramp
primary
#221889
secondary
#B2BD40
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F