#22167F#22167F
#22167F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.163 H 276.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #22167F |
|---|---|
| RGB | rgb(34, 22, 127) |
| HSL | hsl(247, 70%, 29%) |
| HSV | hsv(247, 83%, 50%) |
| CMYK | cmyk(73.2%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.67, 39.37, -56.19) |
| CIE-LCH | lch(17.67, 68.61, 305.02°) |
| OKLab | oklab(30.77% 0.017 -0.1624) |
| OKLCH | oklch(30.77% 0.163 276) |
| XYZ | xyz(4.7761, 2.4458, 20.2949) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 3.17
Navy
#000080
ΔE00 4.07
Darkblue
#00008B
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 4.19
Dark Royal Blue
#02066F
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22167F #737F16
analogous
#163F7F #22167F #57167F
triadic
#22167F #7F2216 #167F22
tetradic
#22167F #7F163F #737F16 #167F57
square
#22167F #7F163F #737F16 #167F57
split-complementary
#22167F #7F5716 #3F7F16
monochromatic
#07051A #140D4B #22167F #301FB3 #4734DC
Accessibility & contrast
On white
14.10
#22167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#22167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22167F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22167F | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #22167f; /* rgb */ color: rgb(34, 22, 127); /* oklch */ color: oklch(30.8% 0.163 276.0);
Tailwind
colors: {
custom: {
50: '#6d57a5',
500: '#22167f',
950: '#000000',
},
}SCSS
$custom: #22167f; $custom-light: #6d57a5; $custom-dark: #000000;
JSON
{
"hex": "#22167f",
"rgb": {
"r": 34,
"g": 22,
"b": 127
},
"hsl": {
"h": 246.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30772,
"c": 0.16332,
"h": 276
},
"luminance": 0.02446
}Semantic roles & 50–950 ramp
primary
#22167F
secondary
#A6B43D
accent
#ED3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F