#221899#221899
#221899 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.193 H 272.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #221899 |
|---|---|
| RGB | rgb(34, 24, 153) |
| HSL | hsl(245, 73%, 35%) |
| HSV | hsv(245, 84%, 60%) |
| CMYK | cmyk(77.8%, 84.3%, 0%, 40%) |
| CIE-LAB | lab(21.18, 46.64, -66.63) |
| CIE-LCH | lch(21.18, 81.33, 304.99°) |
| OKLab | oklab(34.12% 0.0091 -0.1927) |
| OKLCH | oklch(34.12% 0.193 272.7) |
| XYZ | xyz(6.7342, 3.2925, 30.4114) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.72
Cobalt Blue
#030AA7
ΔE00 2.69
Royal Blue (survey)
#0504AA
ΔE00 3.22
Ultramarine
#2000B1
ΔE00 3.83
Indigo Blue
#3A18B1
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221899 #8F9918
analogous
#184F99 #221899 #621899
triadic
#221899 #992218 #189922
tetradic
#221899 #99184F #8F9918 #189962
square
#221899 #99184F #8F9918 #189962
split-complementary
#221899 #996218 #4F9918
monochromatic
#0A072F #161064 #221899 #2E20CE #5549E2
Accessibility & contrast
On white
12.66
#221899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#221899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221899
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221899 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #221899; /* rgb */ color: rgb(34, 24, 153); /* oklch */ color: oklch(34.1% 0.193 272.7);
Tailwind
colors: {
custom: {
50: '#745ab8',
500: '#221899',
950: '#000000',
},
}SCSS
$custom: #221899; $custom-light: #745ab8; $custom-dark: #000000;
JSON
{
"hex": "#221899",
"rgb": {
"r": 34,
"g": 24,
"b": 153
},
"hsl": {
"h": 244.651,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.3412,
"c": 0.19296,
"h": 272.7
},
"luminance": 0.03293
}Semantic roles & 50–950 ramp
primary
#221899
secondary
#BAC449
accent
#F038E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981