#20478F#20478F
#20478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.127 H 261.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #20478F |
|---|---|
| RGB | rgb(32, 71, 143) |
| HSL | hsl(219, 63%, 34%) |
| HSV | hsv(219, 78%, 56%) |
| CMYK | cmyk(77.6%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.34, 13.29, -43.85) |
| CIE-LCH | lch(31.34, 45.82, 286.86°) |
| OKLab | oklab(41.25% -0.0192 -0.126) |
| OKLCH | oklch(41.25% 0.127 261.4) |
| XYZ | xyz(7.8050, 6.7958, 26.8817) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.53
Darkish Blue
#014182
ΔE00 3.26
Cobalt
#0047AB
ΔE00 3.73
Twilight Blue
#0A437A
ΔE00 3.98
Dusk Blue
#26538D
ΔE00 4.29
Light Navy
#155084
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20478F #8F6820
analogous
#207F8F #20478F #31208F
triadic
#20478F #8F2047 #478F20
tetradic
#20478F #8F207F #8F6820 #208F31
square
#20478F #8F207F #8F6820 #208F31
split-complementary
#20478F #8F3120 #7F8F20
monochromatic
#0A152B #152E5D #20478F #2B60C1 #5181D8
Accessibility & contrast
On white
8.90
#20478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#20478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20478F
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20478F | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #20478f; /* rgb */ color: rgb(32, 71, 143); /* oklch */ color: oklch(41.2% 0.127 261.4);
Tailwind
colors: {
custom: {
50: '#6d79b0',
500: '#20478f',
950: '#000000',
},
}SCSS
$custom: #20478f; $custom-light: #6d79b0; $custom-dark: #000000;
JSON
{
"hex": "#20478f",
"rgb": {
"r": 32,
"g": 71,
"b": 143
},
"hsl": {
"h": 218.919,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.41249,
"c": 0.12748,
"h": 261.4
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#20478F
secondary
#BB954F
accent
#AC41E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F