#22169E#22169E
#22169E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.200 H 272.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #22169E |
|---|---|
| RGB | rgb(34, 22, 158) |
| HSL | hsl(245, 76%, 35%) |
| HSV | hsv(245, 86%, 62%) |
| CMYK | cmyk(78.5%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(21.51, 49.05, -69.15) |
| CIE-LCH | lch(21.51, 84.78, 305.35°) |
| OKLab | oklab(34.53% 0.0083 -0.2) |
| OKLCH | oklch(34.53% 0.2 272.4) |
| XYZ | xyz(7.1161, 3.3817, 32.6188) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.13
Royal
#0C1793
ΔE00 2.22
Royal Blue (survey)
#0504AA
ΔE00 2.61
Ultramarine
#2000B1
ΔE00 3.10
Indigo Blue
#3A18B1
ΔE00 3.66
Darkblue
#00008B
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22169E #929E16
analogous
#164E9E #22169E #66169E
triadic
#22169E #9E2216 #169E22
tetradic
#22169E #9E164E #929E16 #169E66
square
#22169E #9E164E #929E16 #169E66
split-complementary
#22169E #9E6616 #4E9E16
monochromatic
#0B0733 #160F68 #22169E #2E1DD4 #5749E6
Accessibility & contrast
On white
12.53
#22169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#22169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22169E
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22169E | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #22169e; /* rgb */ color: rgb(34, 22, 158); /* oklch */ color: oklch(34.5% 0.200 272.4);
Tailwind
colors: {
custom: {
50: '#7559bc',
500: '#22169e',
950: '#000000',
},
}SCSS
$custom: #22169e; $custom-light: #7559bc; $custom-dark: #000000;
JSON
{
"hex": "#22169e",
"rgb": {
"r": 34,
"g": 22,
"b": 158
},
"hsl": {
"h": 245.294,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.34529,
"c": 0.20016,
"h": 272.4
},
"luminance": 0.03383
}Semantic roles & 50–950 ramp
primary
#22169E
secondary
#BCC749
accent
#F236E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981