#221790#221790
#221790 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.183 H 273.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #221790 |
|---|---|
| RGB | rgb(34, 23, 144) |
| HSL | hsl(245, 72%, 33%) |
| HSV | hsv(245, 84%, 56%) |
| CMYK | cmyk(76.4%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(19.91, 44.30, -63.18) |
| CIE-LCH | lch(19.91, 77.16, 305.04°) |
| OKLab | oklab(32.92% 0.0119 -0.1827) |
| OKLCH | oklch(32.92% 0.183 273.7) |
| XYZ | xyz(5.9985, 2.9659, 26.6365) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.43
Cobalt Blue
#030AA7
ΔE00 3.50
Darkblue
#00008B
ΔE00 3.91
Royal Blue (survey)
#0504AA
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.56
Navy
#000080
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221790 #859017
analogous
#174890 #221790 #5F1790
triadic
#221790 #902217 #179022
tetradic
#221790 #901748 #859017 #17905F
square
#221790 #901748 #859017 #17905F
split-complementary
#221790 #905F17 #489017
monochromatic
#090626 #160F5B #221790 #2E1FC5 #4F41E1
Accessibility & contrast
On white
13.18
#221790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#221790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221790
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221790 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 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: #221790; /* rgb */ color: rgb(34, 23, 144); /* oklch */ color: oklch(32.9% 0.183 273.7);
Tailwind
colors: {
custom: {
50: '#7258b2',
500: '#221790',
950: '#000000',
},
}SCSS
$custom: #221790; $custom-light: #7258b2; $custom-dark: #000000;
JSON
{
"hex": "#221790",
"rgb": {
"r": 34,
"g": 23,
"b": 144
},
"hsl": {
"h": 245.455,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32921,
"c": 0.18309,
"h": 273.7
},
"luminance": 0.02966
}Semantic roles & 50–950 ramp
primary
#221790
secondary
#B6C142
accent
#EF39DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980