#20409E#20409E
#20409E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.158 H 265.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #20409E |
|---|---|
| RGB | rgb(32, 64, 158) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.7%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(30.50, 24.02, -54.35) |
| CIE-LCH | lch(30.50, 59.42, 293.85°) |
| OKLab | oklab(40.98% -0.0125 -0.157) |
| OKLCH | oklch(40.98% 0.158 265.5) |
| XYZ | xyz(8.5984, 6.4415, 33.1313) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Sapphire (survey)
#2138AB
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 4.29
Blueberry
#464196
ΔE00 5.67
Darkish Blue
#014182
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20409E #9E7E20
analogous
#207F9E #20409E #3F209E
triadic
#20409E #9E2040 #409E20
tetradic
#20409E #9E207F #9E7E20 #209E3F
square
#20409E #9E207F #9E7E20 #209E3F
split-complementary
#20409E #9E3F20 #7F9E20
monochromatic
#0B1738 #162B6B #20409E #2A55D1 #5B7CDE
Accessibility & contrast
On white
9.18
#20409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#20409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20409E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20409E | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #20409e; /* rgb */ color: rgb(32, 64, 158); /* oklch */ color: oklch(41.0% 0.158 265.5);
Tailwind
colors: {
custom: {
50: '#7174bb',
500: '#20409e',
950: '#000000',
},
}SCSS
$custom: #20409e; $custom-light: #7174bb; $custom-dark: #000000;
JSON
{
"hex": "#20409e",
"rgb": {
"r": 32,
"g": 64,
"b": 158
},
"hsl": {
"h": 224.762,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.40977,
"c": 0.15751,
"h": 265.5
},
"luminance": 0.06442
}Semantic roles & 50–950 ramp
primary
#20409E
secondary
#C2A758
accent
#BE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81