#22167C#22167C
#22167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.160 H 276.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #22167C |
|---|---|
| RGB | rgb(34, 22, 124) |
| HSL | hsl(247, 70%, 29%) |
| HSV | hsv(247, 82%, 49%) |
| CMYK | cmyk(72.6%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(17.31, 38.40, -54.87) |
| CIE-LCH | lch(17.31, 66.97, 304.98°) |
| OKLab | oklab(30.42% 0.0179 -0.1586) |
| OKLCH | oklch(30.42% 0.16 276.4) |
| XYZ | xyz(4.5835, 2.3687, 19.2805) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 3.59
Dark Royal Blue
#02066F
ΔE00 4.03
Navy
#000080
ΔE00 4.15
Deep Blue
#040273
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22167C #707C16
analogous
#163D7C #22167C #55167C
triadic
#22167C #7C2216 #167C22
tetradic
#22167C #7C163D #707C16 #167C55
square
#22167C #7C163D #707C16 #167C55
split-complementary
#22167C #7C5516 #3D7C16
monochromatic
#07051A #140D48 #22167C #301FB0 #4632DB
Accessibility & contrast
On white
14.25
#22167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#22167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22167C
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22167C | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #22167c; /* rgb */ color: rgb(34, 22, 124); /* oklch */ color: oklch(30.4% 0.160 276.4);
Tailwind
colors: {
custom: {
50: '#6d56a3',
500: '#22167c',
950: '#000000',
},
}SCSS
$custom: #22167c; $custom-light: #6d56a3; $custom-dark: #000000;
JSON
{
"hex": "#22167c",
"rgb": {
"r": 34,
"g": 22,
"b": 124
},
"hsl": {
"h": 247.059,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.30419,
"c": 0.1596,
"h": 276.4
},
"luminance": 0.02369
}Semantic roles & 50–950 ramp
primary
#22167C
secondary
#A3B13D
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F