#22408E#22408E
#22408E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.134 H 265.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #22408E |
|---|---|
| RGB | rgb(34, 64, 142) |
| HSL | hsl(223, 61%, 35%) |
| HSV | hsv(223, 76%, 56%) |
| CMYK | cmyk(76.1%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(29.31, 17.95, -46.51) |
| CIE-LCH | lch(29.31, 49.86, 291.10°) |
| OKLab | oklab(39.7% -0.0118 -0.134) |
| OKLCH | oklch(39.7% 0.134 265) |
| XYZ | xyz(7.3738, 5.9591, 26.3475) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.17
Darkish Blue
#014182
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.66
Blueberry
#464196
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22408E #8E7022
analogous
#22768E #22408E #3A228E
triadic
#22408E #8E2240 #408E22
tetradic
#22408E #8E2276 #8E7022 #228E3A
square
#22408E #8E2276 #8E7022 #228E3A
split-complementary
#22408E #8E3A22 #768E22
monochromatic
#0A132B #162A5D #22408E #2E56BF #5478D6
Accessibility & contrast
On white
9.58
#22408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#22408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22408E
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22408E | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #22408e; /* rgb */ color: rgb(34, 64, 142); /* oklch */ color: oklch(39.7% 0.134 265.0);
Tailwind
colors: {
custom: {
50: '#6d74b0',
500: '#22408e',
950: '#000000',
},
}SCSS
$custom: #22408e; $custom-light: #6d74b0; $custom-dark: #000000;
JSON
{
"hex": "#22408e",
"rgb": {
"r": 34,
"g": 64,
"b": 142
},
"hsl": {
"h": 223.333,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.39704,
"c": 0.13447,
"h": 265
},
"luminance": 0.0596
}Semantic roles & 50–950 ramp
primary
#22408E
secondary
#BA9D52
accent
#B843E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F