#221785#221785
#221785 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.170 H 275.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #221785 |
|---|---|
| RGB | rgb(34, 23, 133) |
| HSL | hsl(246, 71%, 31%) |
| HSV | hsv(246, 83%, 52%) |
| CMYK | cmyk(74.4%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(18.57, 40.80, -58.51) |
| CIE-LCH | lch(18.57, 71.33, 304.89°) |
| OKLab | oklab(31.6% 0.0149 -0.1692) |
| OKLCH | oklch(31.6% 0.17 275) |
| XYZ | xyz(5.1983, 2.6458, 22.4225) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Midnight Blue
#191970
ΔE00 3.65
Darkblue
#00008B
ΔE00 3.95
Navy
#000080
ΔE00 4.25
Indigo (survey)
#380282
ΔE00 4.26
Deep Blue
#040273
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221785 #7A8517
analogous
#174385 #221785 #591785
triadic
#221785 #852217 #178522
tetradic
#221785 #851743 #7A8517 #178559
square
#221785 #851743 #7A8517 #178559
split-complementary
#221785 #855917 #438517
monochromatic
#07051D #150E51 #221785 #2F20B9 #4A3ADD
Accessibility & contrast
On white
13.73
#221785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#221785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221785
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221785 | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #221785; /* rgb */ color: rgb(34, 23, 133); /* oklch */ color: oklch(31.6% 0.170 275.0);
Tailwind
colors: {
custom: {
50: '#6f57aa',
500: '#221785',
950: '#000000',
},
}SCSS
$custom: #221785; $custom-light: #6f57aa; $custom-dark: #000000;
JSON
{
"hex": "#221785",
"rgb": {
"r": 34,
"g": 23,
"b": 133
},
"hsl": {
"h": 246,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.31604,
"c": 0.16984,
"h": 275
},
"luminance": 0.02646
}Semantic roles & 50–950 ramp
primary
#221785
secondary
#ADB93F
accent
#ED3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F