#22107E#22107E
#22107E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.167 H 276.8°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #22107E |
|---|---|
| RGB | rgb(34, 16, 126) |
| HSL | hsl(250, 77%, 28%) |
| HSV | hsv(250, 87%, 49%) |
| CMYK | cmyk(73%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.59, 41.88, -57.36) |
| CIE-LCH | lch(16.59, 71.02, 306.14°) |
| OKLab | oklab(29.99% 0.0197 -0.1657) |
| OKLCH | oklch(29.99% 0.167 276.8) |
| XYZ | xyz(4.6096, 2.2166, 19.9195) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.15
Darkblue
#00008B
ΔE00 3.35
Indigo (survey)
#380282
ΔE00 3.43
Deep Blue
#040273
ΔE00 3.46
Midnight Blue
#191970
ΔE00 3.53
Royal
#0C1793
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22107E #6C7E10
analogous
#10357E #22107E #59107E
triadic
#22107E #7E2210 #107E22
tetradic
#22107E #7E1035 #6C7E10 #107E59
square
#22107E #7E1035 #6C7E10 #107E59
split-complementary
#22107E #7E5910 #357E10
monochromatic
#07031B #130948 #22107E #3117B4 #4425E3
Accessibility & contrast
On white
14.55
#22107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#22107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22107E
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22107E | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #22107e; /* rgb */ color: rgb(34, 16, 126); /* oklch */ color: oklch(30.0% 0.167 276.8);
Tailwind
colors: {
custom: {
50: '#6e53a5',
500: '#22107e',
950: '#000000',
},
}SCSS
$custom: #22107e; $custom-light: #6e53a5; $custom-dark: #000000;
JSON
{
"hex": "#22107e",
"rgb": {
"r": 34,
"g": 16,
"b": 126
},
"hsl": {
"h": 249.818,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.29987,
"c": 0.16688,
"h": 276.8
},
"luminance": 0.02217
}Semantic roles & 50–950 ramp
primary
#22107E
secondary
#A0B436
accent
#F434D5
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F