#22478E#22478E
#22478E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.125 H 261.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #22478E |
|---|---|
| RGB | rgb(34, 71, 142) |
| HSL | hsl(219, 61%, 35%) |
| HSV | hsv(219, 76%, 56%) |
| CMYK | cmyk(76.1%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(31.34, 13.15, -43.22) |
| CIE-LCH | lch(31.34, 45.18, 286.93°) |
| OKLab | oklab(41.25% -0.0178 -0.1241) |
| OKLCH | oklch(41.25% 0.125 261.8) |
| XYZ | xyz(7.7937, 6.7987, 26.4875) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.70
Darkish Blue
#014182
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.90
Twilight Blue
#0A437A
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 4.35
Light Navy
#155084
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22478E #8E6922
analogous
#227D8E #22478E #33228E
triadic
#22478E #8E2247 #478E22
tetradic
#22478E #8E227D #8E6922 #228E33
square
#22478E #8E227D #8E6922 #228E33
split-complementary
#22478E #8E3322 #7D8E22
monochromatic
#0A162B #162E5D #22478E #2E60BF #5481D6
Accessibility & contrast
On white
8.90
#22478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#22478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22478E
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22478E | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #22478e; /* rgb */ color: rgb(34, 71, 142); /* oklch */ color: oklch(41.3% 0.125 261.8);
Tailwind
colors: {
custom: {
50: '#6d79b0',
500: '#22478e',
950: '#000000',
},
}SCSS
$custom: #22478e; $custom-light: #6d79b0; $custom-dark: #000000;
JSON
{
"hex": "#22478e",
"rgb": {
"r": 34,
"g": 71,
"b": 142
},
"hsl": {
"h": 219.444,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.41253,
"c": 0.12542,
"h": 261.8
},
"luminance": 0.068
}Semantic roles & 50–950 ramp
primary
#22478E
secondary
#BA9652
accent
#AD43E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F