#22198B#22198B
#22198B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 274.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #22198B |
|---|---|
| RGB | rgb(34, 25, 139) |
| HSL | hsl(245, 70%, 32%) |
| HSV | hsv(245, 82%, 55%) |
| CMYK | cmyk(75.5%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(19.63, 41.73, -60.51) |
| CIE-LCH | lch(19.63, 73.50, 304.59°) |
| OKLab | oklab(32.56% 0.0125 -0.175) |
| OKLCH | oklch(32.56% 0.175 274.1) |
| XYZ | xyz(5.6660, 2.8988, 24.6820) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.74
Darkblue
#00008B
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.67
Navy
#000080
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22198B #828B19
analogous
#19498B #22198B #5B198B
triadic
#22198B #8B2219 #198B22
tetradic
#22198B #8B1949 #828B19 #198B5B
square
#22198B #8B1949 #828B19 #198B5B
split-complementary
#22198B #8B5B19 #498B19
monochromatic
#090623 #151057 #22198B #2F22BF #4E41DD
Accessibility & contrast
On white
13.29
#22198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#22198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22198B
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22198B | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #22198b; /* rgb */ color: rgb(34, 25, 139); /* oklch */ color: oklch(32.6% 0.175 274.1);
Tailwind
colors: {
custom: {
50: '#7059ae',
500: '#22198b',
950: '#000000',
},
}SCSS
$custom: #22198b; $custom-light: #7059ae; $custom-dark: #000000;
JSON
{
"hex": "#22198b",
"rgb": {
"r": 34,
"g": 25,
"b": 139
},
"hsl": {
"h": 244.737,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.32556,
"c": 0.17546,
"h": 274.1
},
"luminance": 0.02899
}Semantic roles & 50–950 ramp
primary
#22198B
secondary
#B4BE42
accent
#EC3BDE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F