#22107F#22107F
#22107F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.1% C 0.168 H 276.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #22107F |
|---|---|
| RGB | rgb(34, 16, 127) |
| HSL | hsl(250, 78%, 28%) |
| HSV | hsv(250, 87%, 50%) |
| CMYK | cmyk(73.2%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(16.71, 42.19, -57.78) |
| CIE-LCH | lch(16.71, 71.55, 306.14°) |
| OKLab | oklab(30.11% 0.0194 -0.1669) |
| OKLCH | oklch(30.11% 0.168 276.6) |
| XYZ | xyz(4.6745, 2.2425, 20.2611) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.14
Darkblue
#00008B
ΔE00 3.26
Indigo (survey)
#380282
ΔE00 3.40
Royal
#0C1793
ΔE00 3.44
Deep Blue
#040273
ΔE00 3.53
Midnight Blue
#191970
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22107F #6D7F10
analogous
#10357F #22107F #59107F
triadic
#22107F #7F2210 #107F22
tetradic
#22107F #7F1035 #6D7F10 #107F59
square
#22107F #7F1035 #6D7F10 #107F59
split-complementary
#22107F #7F5910 #357F10
monochromatic
#07031B #130949 #22107F #3117B5 #4526E4
Accessibility & contrast
On white
14.50
#22107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#22107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22107F
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22107F | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #22107f; /* rgb */ color: rgb(34, 16, 127); /* oklch */ color: oklch(30.1% 0.168 276.6);
Tailwind
colors: {
custom: {
50: '#6e54a5',
500: '#22107f',
950: '#000000',
},
}SCSS
$custom: #22107f; $custom-light: #6e54a5; $custom-dark: #000000;
JSON
{
"hex": "#22107f",
"rgb": {
"r": 34,
"g": 16,
"b": 127
},
"hsl": {
"h": 249.73,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.3011,
"c": 0.16807,
"h": 276.6
},
"luminance": 0.02243
}Semantic roles & 50–950 ramp
primary
#22107F
secondary
#A0B536
accent
#F434D5
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F