#22147D#22147D
#22147D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.163 H 276.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #22147D |
|---|---|
| RGB | rgb(34, 20, 125) |
| HSL | hsl(248, 72%, 28%) |
| HSV | hsv(248, 84%, 49%) |
| CMYK | cmyk(72.8%, 84%, 0%, 51%) |
| CIE-LAB | lab(17.09, 39.73, -55.89) |
| CIE-LCH | lch(17.09, 68.57, 305.41°) |
| OKLab | oklab(30.3% 0.0185 -0.1615) |
| OKLCH | oklch(30.3% 0.163 276.5) |
| XYZ | xyz(4.6103, 2.3206, 19.6030) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.91
Royal
#0C1793
ΔE00 3.49
Navy
#000080
ΔE00 3.77
Dark Royal Blue
#02066F
ΔE00 3.84
Deep Blue
#040273
ΔE00 3.92
Darkblue
#00008B
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22147D #6F7D14
analogous
#143A7D #22147D #56147D
triadic
#22147D #7D2214 #147D22
tetradic
#22147D #7D143A #6F7D14 #147D56
square
#22147D #7D143A #6F7D14 #147D56
split-complementary
#22147D #7D5614 #3A7D14
monochromatic
#07041A #140C48 #22147D #301CB2 #452EDE
Accessibility & contrast
On white
14.34
#22147D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#22147D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22147D
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22147D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22147D | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #22147d; /* rgb */ color: rgb(34, 20, 125); /* oklch */ color: oklch(30.3% 0.163 276.5);
Tailwind
colors: {
custom: {
50: '#6d55a4',
500: '#22147d',
950: '#000000',
},
}SCSS
$custom: #22147d; $custom-light: #6d55a4; $custom-dark: #000000;
JSON
{
"hex": "#22147d",
"rgb": {
"r": 34,
"g": 20,
"b": 125
},
"hsl": {
"h": 248,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.30297,
"c": 0.16256,
"h": 276.5
},
"luminance": 0.02321
}Semantic roles & 50–950 ramp
primary
#22147D
secondary
#A2B23A
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F