#20479F#20479F
#20479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.150 H 263.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #20479F |
|---|---|
| RGB | rgb(32, 71, 159) |
| HSL | hsl(222, 66%, 37%) |
| HSV | hsv(222, 80%, 62%) |
| CMYK | cmyk(79.9%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.52, 19.66, -51.67) |
| CIE-LCH | lch(32.52, 55.29, 290.83°) |
| OKLab | oklab(42.52% -0.0173 -0.149) |
| OKLCH | oklch(42.52% 0.15 263.4) |
| XYZ | xyz(9.1047, 7.3157, 33.7264) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.91
Cobalt (survey)
#1E488F
ΔE00 2.62
Sapphire
#0F52BA
ΔE00 4.83
Darkish Blue
#014182
ΔE00 5.14
Dusk Blue
#26538D
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20479F #9F7820
analogous
#20869F #20479F #39209F
triadic
#20479F #9F2047 #479F20
tetradic
#20479F #9F2086 #9F7820 #209F39
square
#20479F #9F2086 #9F7820 #209F39
split-complementary
#20479F #9F3920 #869F20
monochromatic
#0B1A39 #16306C #20479F #2A5ED2 #5B83DE
Accessibility & contrast
On white
8.52
#20479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#20479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20479F
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20479F | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #20479f; /* rgb */ color: rgb(32, 71, 159); /* oklch */ color: oklch(42.5% 0.150 263.4);
Tailwind
colors: {
custom: {
50: '#7179bc',
500: '#20479f',
950: '#000000',
},
}SCSS
$custom: #20479f; $custom-light: #7179bc; $custom-dark: #000000;
JSON
{
"hex": "#20479f",
"rgb": {
"r": 32,
"g": 71,
"b": 159
},
"hsl": {
"h": 221.575,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.42519,
"c": 0.15005,
"h": 263.4
},
"luminance": 0.07317
}Semantic roles & 50–950 ramp
primary
#20479F
secondary
#C2A259
accent
#B53EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81