#22167E#22167E
#22167E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.162 H 276.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #22167E |
|---|---|
| RGB | rgb(34, 22, 126) |
| HSL | hsl(247, 70%, 29%) |
| HSV | hsv(247, 83%, 49%) |
| CMYK | cmyk(73%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(17.55, 39.05, -55.75) |
| CIE-LCH | lch(17.55, 68.07, 305.01°) |
| OKLab | oklab(30.65% 0.0173 -0.1612) |
| OKLCH | oklch(30.65% 0.162 276.1) |
| XYZ | xyz(4.7113, 2.4198, 19.9534) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.79
Royal
#0C1793
ΔE00 3.30
Navy
#000080
ΔE00 4.09
Dark Royal Blue
#02066F
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22167E #727E16
analogous
#163E7E #22167E #56167E
triadic
#22167E #7E2216 #167E22
tetradic
#22167E #7E163E #727E16 #167E56
square
#22167E #7E163E #727E16 #167E56
split-complementary
#22167E #7E5616 #3E7E16
monochromatic
#07051A #140D4A #22167E #301FB2 #4633DB
Accessibility & contrast
On white
14.15
#22167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#22167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22167E
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22167E | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #22167e; /* rgb */ color: rgb(34, 22, 126); /* oklch */ color: oklch(30.7% 0.162 276.1);
Tailwind
colors: {
custom: {
50: '#6d56a5',
500: '#22167e',
950: '#000000',
},
}SCSS
$custom: #22167e; $custom-light: #6d56a5; $custom-dark: #000000;
JSON
{
"hex": "#22167e",
"rgb": {
"r": 34,
"g": 22,
"b": 126
},
"hsl": {
"h": 246.923,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.30654,
"c": 0.16209,
"h": 276.1
},
"luminance": 0.0242
}Semantic roles & 50–950 ramp
primary
#22167E
secondary
#A5B33D
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F