#20409D#20409D
#20409D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.156 H 265.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #20409D |
|---|---|
| RGB | rgb(32, 64, 157) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.6%, 59.2%, 0%, 38.4%) |
| CIE-LAB | lab(30.42, 23.63, -53.88) |
| CIE-LCH | lch(30.42, 58.83, 293.68°) |
| OKLab | oklab(40.89% -0.0125 -0.1556) |
| OKLCH | oklch(40.89% 0.156 265.4) |
| XYZ | xyz(8.5127, 6.4072, 32.6798) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 3.74
Cobalt (survey)
#1E488F
ΔE00 4.19
Darkish Blue
#014182
ΔE00 5.66
Blueberry
#464196
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20409D #9D7D20
analogous
#207F9D #20409D #3F209D
triadic
#20409D #9D2040 #409D20
tetradic
#20409D #9D207F #9D7D20 #209D3F
square
#20409D #9D207F #9D7D20 #209D3F
split-complementary
#20409D #9D3F20 #7F9D20
monochromatic
#0B1737 #162B6A #20409D #2A55D0 #5A7CDD
Accessibility & contrast
On white
9.20
#20409D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#20409D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20409D
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20409D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20409D | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #20409d; /* rgb */ color: rgb(32, 64, 157); /* oklch */ color: oklch(40.9% 0.156 265.4);
Tailwind
colors: {
custom: {
50: '#7074bb',
500: '#20409d',
950: '#000000',
},
}SCSS
$custom: #20409d; $custom-light: #7074bb; $custom-dark: #000000;
JSON
{
"hex": "#20409d",
"rgb": {
"r": 32,
"g": 64,
"b": 157
},
"hsl": {
"h": 224.64,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.4089,
"c": 0.15614,
"h": 265.4
},
"luminance": 0.06408
}Semantic roles & 50–950 ramp
primary
#20409D
secondary
#C1A657
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81