#221590#221590
#221590 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.185 H 273.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #221590 |
|---|---|
| RGB | rgb(34, 21, 144) |
| HSL | hsl(246, 75%, 32%) |
| HSV | hsv(246, 85%, 56%) |
| CMYK | cmyk(76.4%, 85.4%, 0%, 43.5%) |
| CIE-LAB | lab(19.60, 45.22, -63.69) |
| CIE-LCH | lch(19.60, 78.11, 305.37°) |
| OKLab | oklab(32.71% 0.0125 -0.1842) |
| OKLCH | oklch(32.71% 0.185 273.9) |
| XYZ | xyz(5.9602, 2.8894, 26.6237) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.52
Cobalt Blue
#030AA7
ΔE00 3.36
Darkblue
#00008B
ΔE00 3.60
Royal Blue (survey)
#0504AA
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 4.31
Navy
#000080
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221590 #839015
analogous
#154690 #221590 #5F1590
triadic
#221590 #902215 #159022
tetradic
#221590 #901546 #839015 #15905F
square
#221590 #901546 #839015 #15905F
split-complementary
#221590 #905F15 #469015
monochromatic
#090525 #150D5B #221590 #2F1DC5 #4E3DE3
Accessibility & contrast
On white
13.31
#221590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#221590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221590
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221590 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #221590; /* rgb */ color: rgb(34, 21, 144); /* oklch */ color: oklch(32.7% 0.185 273.9);
Tailwind
colors: {
custom: {
50: '#7257b2',
500: '#221590',
950: '#000000',
},
}SCSS
$custom: #221590; $custom-light: #7257b2; $custom-dark: #000000;
JSON
{
"hex": "#221590",
"rgb": {
"r": 34,
"g": 21,
"b": 144
},
"hsl": {
"h": 246.341,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.32707,
"c": 0.18459,
"h": 273.9
},
"luminance": 0.0289
}Semantic roles & 50–950 ramp
primary
#221590
secondary
#B4C23E
accent
#F137DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880