#20479E#20479E
#20479E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.149 H 263.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #20479E |
|---|---|
| RGB | rgb(32, 71, 158) |
| HSL | hsl(221, 66%, 37%) |
| HSV | hsv(221, 80%, 62%) |
| CMYK | cmyk(79.7%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.44, 19.26, -51.20) |
| CIE-LCH | lch(32.44, 54.70, 290.62°) |
| OKLab | oklab(42.44% -0.0174 -0.1476) |
| OKLCH | oklch(42.44% 0.149 263.3) |
| XYZ | xyz(9.0183, 7.2811, 33.2712) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.99
Cobalt (survey)
#1E488F
ΔE00 2.48
Sapphire
#0F52BA
ΔE00 4.90
Darkish Blue
#014182
ΔE00 5.01
Dusk Blue
#26538D
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20479E #9E7720
analogous
#20869E #20479E #38209E
triadic
#20479E #9E2047 #479E20
tetradic
#20479E #9E2086 #9E7720 #209E38
square
#20479E #9E2086 #9E7720 #209E38
split-complementary
#20479E #9E3820 #869E20
monochromatic
#0B1938 #16306B #20479E #2A5ED1 #5B83DE
Accessibility & contrast
On white
8.55
#20479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#20479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20479E
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20479E | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #20479e; /* rgb */ color: rgb(32, 71, 158); /* oklch */ color: oklch(42.4% 0.149 263.3);
Tailwind
colors: {
custom: {
50: '#7079bb',
500: '#20479e',
950: '#000000',
},
}SCSS
$custom: #20479e; $custom-light: #7079bb; $custom-dark: #000000;
JSON
{
"hex": "#20479e",
"rgb": {
"r": 32,
"g": 71,
"b": 158
},
"hsl": {
"h": 221.429,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.42437,
"c": 0.14866,
"h": 263.3
},
"luminance": 0.07282
}Semantic roles & 50–950 ramp
primary
#20479E
secondary
#C2A158
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81