#20409C#20409C
#20409C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.155 H 265.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #20409C |
|---|---|
| RGB | rgb(32, 64, 156) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 79%, 61%) |
| CMYK | cmyk(79.5%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.34, 23.24, -53.40) |
| CIE-LCH | lch(30.34, 58.24, 293.52°) |
| OKLab | oklab(40.8% -0.0125 -0.1542) |
| OKLCH | oklch(40.8% 0.155 265.3) |
| XYZ | xyz(8.4277, 6.3732, 32.2320) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.09
Darkish Blue
#014182
ΔE00 5.53
Blueberry
#464196
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20409C #9C7C20
analogous
#207E9C #20409C #3E209C
triadic
#20409C #9C2040 #409C20
tetradic
#20409C #9C207E #9C7C20 #209C3E
square
#20409C #9C207E #9C7C20 #209C3E
split-complementary
#20409C #9C3E20 #7E9C20
monochromatic
#0B1636 #162B69 #20409C #2A55CF #597BDD
Accessibility & contrast
On white
9.23
#20409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#20409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20409C
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20409C | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #20409c; /* rgb */ color: rgb(32, 64, 156); /* oklch */ color: oklch(40.8% 0.155 265.3);
Tailwind
colors: {
custom: {
50: '#7074ba',
500: '#20409c',
950: '#000000',
},
}SCSS
$custom: #20409c; $custom-light: #7074ba; $custom-dark: #000000;
JSON
{
"hex": "#20409c",
"rgb": {
"r": 32,
"g": 64,
"b": 156
},
"hsl": {
"h": 224.516,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.40802,
"c": 0.15476,
"h": 265.3
},
"luminance": 0.06374
}Semantic roles & 50–950 ramp
primary
#20409C
secondary
#C1A657
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81