#20478C#20478C
#20478C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.123 H 260.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #20478C |
|---|---|
| RGB | rgb(32, 71, 140) |
| HSL | hsl(218, 63%, 34%) |
| HSV | hsv(218, 77%, 55%) |
| CMYK | cmyk(77.1%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.13, 12.09, -42.35) |
| CIE-LCH | lch(31.13, 44.04, 285.93°) |
| OKLab | oklab(41.02% -0.0196 -0.1216) |
| OKLCH | oklch(41.02% 0.123 260.8) |
| XYZ | xyz(7.5808, 6.7062, 25.7007) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.55
Darkish Blue
#014182
ΔE00 2.98
Twilight Blue
#0A437A
ΔE00 3.61
Cobalt
#0047AB
ΔE00 4.12
Dusk Blue
#26538D
ΔE00 4.19
Prussian Blue
#004577
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20478C #8C6520
analogous
#207D8C #20478C #2F208C
triadic
#20478C #8C2047 #478C20
tetradic
#20478C #8C207D #8C6520 #208C2F
square
#20478C #8C207D #8C6520 #208C2F
split-complementary
#20478C #8C2F20 #7D8C20
monochromatic
#091428 #152E5A #20478C #2B60BE #5080D7
Accessibility & contrast
On white
8.97
#20478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#20478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20478C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20478C | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204F8F
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #20478c; /* rgb */ color: rgb(32, 71, 140); /* oklch */ color: oklch(41.0% 0.123 260.8);
Tailwind
colors: {
custom: {
50: '#6c79ae',
500: '#20478c',
950: '#000000',
},
}SCSS
$custom: #20478c; $custom-light: #6c79ae; $custom-dark: #000000;
JSON
{
"hex": "#20478c",
"rgb": {
"r": 32,
"g": 71,
"b": 140
},
"hsl": {
"h": 218.333,
"s": 62.791,
"l": 33.725
},
"oklch": {
"l": 0.41022,
"c": 0.12317,
"h": 260.8
},
"luminance": 0.06707
}Semantic roles & 50–950 ramp
primary
#20478C
secondary
#BA934E
accent
#AB42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F