#20479C#20479C
#20479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.146 H 263.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #20479C |
|---|---|
| RGB | rgb(32, 71, 156) |
| HSL | hsl(221, 66%, 37%) |
| HSV | hsv(221, 79%, 61%) |
| CMYK | cmyk(79.5%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.29, 18.47, -50.23) |
| CIE-LCH | lch(32.29, 53.52, 290.19°) |
| OKLab | oklab(42.27% -0.0176 -0.1448) |
| OKLCH | oklch(42.27% 0.146 263.1) |
| XYZ | xyz(8.8475, 7.2128, 32.3720) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.18
Cobalt (survey)
#1E488F
ΔE00 2.19
Darkish Blue
#014182
ΔE00 4.75
Sapphire
#0F52BA
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 5.07
Twilight Blue
#0A437A
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20479C #9C7520
analogous
#20859C #20479C #37209C
triadic
#20479C #9C2047 #479C20
tetradic
#20479C #9C2085 #9C7520 #209C37
square
#20479C #9C2085 #9C7520 #209C37
split-complementary
#20479C #9C3720 #859C20
monochromatic
#0B1936 #163069 #20479C #2A5ECF #5983DD
Accessibility & contrast
On white
8.60
#20479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#20479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20479C
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20479C | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #20479c; /* rgb */ color: rgb(32, 71, 156); /* oklch */ color: oklch(42.3% 0.146 263.1);
Tailwind
colors: {
custom: {
50: '#7079ba',
500: '#20479c',
950: '#000000',
},
}SCSS
$custom: #20479c; $custom-light: #7079ba; $custom-dark: #000000;
JSON
{
"hex": "#20479c",
"rgb": {
"r": 32,
"g": 71,
"b": 156
},
"hsl": {
"h": 221.129,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.42274,
"c": 0.14587,
"h": 263.1
},
"luminance": 0.07214
}Semantic roles & 50–950 ramp
primary
#20479C
secondary
#C1A057
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81