#22148F#22148F
#22148F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.184 H 274.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #22148F |
|---|---|
| RGB | rgb(34, 20, 143) |
| HSL | hsl(247, 75%, 32%) |
| HSV | hsv(247, 86%, 56%) |
| CMYK | cmyk(76.2%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(19.32, 45.35, -63.53) |
| CIE-LCH | lch(19.32, 78.05, 305.52°) |
| OKLab | oklab(32.48% 0.0131 -0.1837) |
| OKLCH | oklch(32.48% 0.184 274.1) |
| XYZ | xyz(5.8661, 2.8230, 26.2170) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.63
Darkblue
#00008B
ΔE00 3.42
Cobalt Blue
#030AA7
ΔE00 3.42
Royal Blue (survey)
#0504AA
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 4.14
Navy
#000080
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22148F #818F14
analogous
#14448F #22148F #60148F
triadic
#22148F #8F2214 #148F22
tetradic
#22148F #8F1444 #818F14 #148F60
square
#22148F #8F1444 #818F14 #148F60
split-complementary
#22148F #8F6014 #448F14
monochromatic
#080524 #150C59 #22148F #2F1CC5 #4D3AE3
Accessibility & contrast
On white
13.42
#22148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#22148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22148F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22148F | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #22148f; /* rgb */ color: rgb(34, 20, 143); /* oklch */ color: oklch(32.5% 0.184 274.1);
Tailwind
colors: {
custom: {
50: '#7257b1',
500: '#22148f',
950: '#000000',
},
}SCSS
$custom: #22148f; $custom-light: #7257b1; $custom-dark: #000000;
JSON
{
"hex": "#22148f",
"rgb": {
"r": 34,
"g": 20,
"b": 143
},
"hsl": {
"h": 246.829,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.32481,
"c": 0.18413,
"h": 274.1
},
"luminance": 0.02824
}Semantic roles & 50–950 ramp
primary
#22148F
secondary
#B3C33C
accent
#F236DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880