#22478F#22478F
#22478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.127 H 262.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #22478F |
|---|---|
| RGB | rgb(34, 71, 143) |
| HSL | hsl(220, 62%, 35%) |
| HSV | hsv(220, 76%, 56%) |
| CMYK | cmyk(76.2%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.41, 13.55, -43.72) |
| CIE-LCH | lch(31.41, 45.77, 287.22°) |
| OKLab | oklab(41.33% -0.0176 -0.1256) |
| OKLCH | oklch(41.33% 0.127 262) |
| XYZ | xyz(7.8691, 6.8289, 26.8847) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.75
Darkish Blue
#014182
ΔE00 3.44
Cobalt
#0047AB
ΔE00 3.77
Twilight Blue
#0A437A
ΔE00 4.16
Dusk Blue
#26538D
ΔE00 4.39
Light Navy
#155084
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22478F #8F6A22
analogous
#227E8F #22478F #34228F
triadic
#22478F #8F2247 #478F22
tetradic
#22478F #8F227E #8F6A22 #228F34
square
#22478F #8F227E #8F6A22 #228F34
split-complementary
#22478F #8F3422 #7E8F22
monochromatic
#0A162C #162E5E #22478F #2E60C0 #5581D7
Accessibility & contrast
On white
8.88
#22478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#22478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22478F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22478F | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #22478f; /* rgb */ color: rgb(34, 71, 143); /* oklch */ color: oklch(41.3% 0.127 262.0);
Tailwind
colors: {
custom: {
50: '#6d79b0',
500: '#22478f',
950: '#000000',
},
}SCSS
$custom: #22478f; $custom-light: #6d79b0; $custom-dark: #000000;
JSON
{
"hex": "#22478f",
"rgb": {
"r": 34,
"g": 71,
"b": 143
},
"hsl": {
"h": 219.633,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.41329,
"c": 0.12685,
"h": 262
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#22478F
secondary
#BA9752
accent
#AE43E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F