#22478C#22478C
#22478C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.123 H 261.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #22478C |
|---|---|
| RGB | rgb(34, 71, 140) |
| HSL | hsl(219, 61%, 34%) |
| HSV | hsv(219, 76%, 55%) |
| CMYK | cmyk(75.7%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.21, 12.36, -42.22) |
| CIE-LCH | lch(31.21, 43.99, 286.32°) |
| OKLab | oklab(41.1% -0.0181 -0.1212) |
| OKLCH | oklch(41.1% 0.123 261.5) |
| XYZ | xyz(7.6449, 6.7392, 25.7037) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.71
Darkish Blue
#014182
ΔE00 3.17
Twilight Blue
#0A437A
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.15
Dusk Blue
#26538D
ΔE00 4.28
Prussian Blue
#004577
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22478C #8C6722
analogous
#227C8C #22478C #32228C
triadic
#22478C #8C2247 #478C22
tetradic
#22478C #8C227C #8C6722 #228C32
square
#22478C #8C227C #8C6722 #228C32
split-complementary
#22478C #8C3222 #7C8C22
monochromatic
#0A152A #162E5B #22478C #2E60BD #5381D5
Accessibility & contrast
On white
8.94
#22478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#22478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22478C
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22478C | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #22478c; /* rgb */ color: rgb(34, 71, 140); /* oklch */ color: oklch(41.1% 0.123 261.5);
Tailwind
colors: {
custom: {
50: '#6d79ae',
500: '#22478c',
950: '#000000',
},
}SCSS
$custom: #22478c; $custom-light: #6d79ae; $custom-dark: #000000;
JSON
{
"hex": "#22478c",
"rgb": {
"r": 34,
"g": 71,
"b": 140
},
"hsl": {
"h": 219.057,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.41102,
"c": 0.12253,
"h": 261.5
},
"luminance": 0.0674
}Semantic roles & 50–950 ramp
primary
#22478C
secondary
#B99551
accent
#AC44E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F