#22147C#22147C
#22147C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.161 H 276.7°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #22147C |
|---|---|
| RGB | rgb(34, 20, 124) |
| HSL | hsl(248, 72%, 28%) |
| HSV | hsv(248, 84%, 49%) |
| CMYK | cmyk(72.6%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(16.97, 39.41, -55.45) |
| CIE-LCH | lch(16.97, 68.03, 305.40°) |
| OKLab | oklab(30.18% 0.0188 -0.1602) |
| OKLCH | oklch(30.18% 0.161 276.7) |
| XYZ | xyz(4.5467, 2.2952, 19.2683) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.79
Royal
#0C1793
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 3.77
Navy
#000080
ΔE00 3.80
Deep Blue
#040273
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22147C #6E7C14
analogous
#143A7C #22147C #56147C
triadic
#22147C #7C2214 #147C22
tetradic
#22147C #7C143A #6E7C14 #147C56
square
#22147C #7C143A #6E7C14 #147C56
split-complementary
#22147C #7C5614 #3A7C14
monochromatic
#07041A #140B47 #22147C #301DB1 #452DDD
Accessibility & contrast
On white
14.39
#22147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#22147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22147C
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22147C | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #22147c; /* rgb */ color: rgb(34, 20, 124); /* oklch */ color: oklch(30.2% 0.161 276.7);
Tailwind
colors: {
custom: {
50: '#6d55a3',
500: '#22147c',
950: '#000000',
},
}SCSS
$custom: #22147c; $custom-light: #6d55a3; $custom-dark: #000000;
JSON
{
"hex": "#22147c",
"rgb": {
"r": 34,
"g": 20,
"b": 124
},
"hsl": {
"h": 248.077,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.30177,
"c": 0.16134,
"h": 276.7
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#22147C
secondary
#A1B23A
accent
#EF39D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F