#22148E#22148E
#22148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.183 H 274.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #22148E |
|---|---|
| RGB | rgb(34, 20, 142) |
| HSL | hsl(247, 75%, 32%) |
| HSV | hsv(247, 86%, 56%) |
| CMYK | cmyk(76.1%, 85.9%, 0%, 44.3%) |
| CIE-LAB | lab(19.19, 45.04, -63.11) |
| CIE-LCH | lch(19.19, 77.54, 305.52°) |
| OKLab | oklab(32.36% 0.0134 -0.1825) |
| OKLCH | oklch(32.36% 0.183 274.2) |
| XYZ | xyz(5.7907, 2.7928, 25.8198) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.67
Darkblue
#00008B
ΔE00 3.39
Cobalt Blue
#030AA7
ΔE00 3.55
Royal Blue (survey)
#0504AA
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.08
Navy
#000080
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22148E #808E14
analogous
#14438E #22148E #5F148E
triadic
#22148E #8E2214 #148E22
tetradic
#22148E #8E1443 #808E14 #148E5F
square
#22148E #8E1443 #808E14 #148E5F
split-complementary
#22148E #8E5F14 #438E14
monochromatic
#080523 #150C58 #22148E #2F1CC4 #4D39E3
Accessibility & contrast
On white
13.47
#22148E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#22148E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22148E
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22148E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22148E | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #22148e; /* rgb */ color: rgb(34, 20, 142); /* oklch */ color: oklch(32.4% 0.183 274.2);
Tailwind
colors: {
custom: {
50: '#7157b0',
500: '#22148e',
950: '#000000',
},
}SCSS
$custom: #22148e; $custom-light: #7157b0; $custom-dark: #000000;
JSON
{
"hex": "#22148e",
"rgb": {
"r": 34,
"g": 20,
"b": 142
},
"hsl": {
"h": 246.885,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.32358,
"c": 0.18296,
"h": 274.2
},
"luminance": 0.02793
}Semantic roles & 50–950 ramp
primary
#22148E
secondary
#B2C23C
accent
#F236DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880