#22187C#22187C
#22187C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.158 H 276.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #22187C |
|---|---|
| RGB | rgb(34, 24, 124) |
| HSL | hsl(246, 68%, 29%) |
| HSV | hsv(246, 81%, 49%) |
| CMYK | cmyk(72.6%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(17.68, 37.33, -54.26) |
| CIE-LCH | lch(17.68, 65.86, 304.53°) |
| OKLab | oklab(30.68% 0.0169 -0.1569) |
| OKLCH | oklch(30.68% 0.158 276.2) |
| XYZ | xyz(4.6232, 2.4482, 19.2938) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.33
Royal
#0C1793
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 4.33
Navy
#000080
ΔE00 4.54
Deep Blue
#040273
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22187C #727C18
analogous
#18407C #22187C #54187C
triadic
#22187C #7C2218 #187C22
tetradic
#22187C #7C1840 #727C18 #187C54
square
#22187C #7C1840 #727C18 #187C54
split-complementary
#22187C #7C5418 #407C18
monochromatic
#07051A #140E49 #22187C #3022AF #4636D8
Accessibility & contrast
On white
14.10
#22187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#22187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22187C
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22187C | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #22187c; /* rgb */ color: rgb(34, 24, 124); /* oklch */ color: oklch(30.7% 0.158 276.2);
Tailwind
colors: {
custom: {
50: '#6c57a3',
500: '#22187c',
950: '#000000',
},
}SCSS
$custom: #22187c; $custom-light: #6c57a3; $custom-dark: #000000;
JSON
{
"hex": "#22187c",
"rgb": {
"r": 34,
"g": 24,
"b": 124
},
"hsl": {
"h": 246,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.30676,
"c": 0.15777,
"h": 276.2
},
"luminance": 0.02449
}Semantic roles & 50–950 ramp
primary
#22187C
secondary
#A5B13F
accent
#EA3DD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F