#20419E#20419E
#20419E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.156 H 265.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #20419E |
|---|---|
| RGB | rgb(32, 65, 158) |
| HSL | hsl(224, 66%, 37%) |
| HSV | hsv(224, 80%, 62%) |
| CMYK | cmyk(79.7%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(30.77, 23.34, -53.90) |
| CIE-LCH | lch(30.77, 58.74, 293.42°) |
| OKLab | oklab(41.18% -0.0131 -0.1557) |
| OKLCH | oklch(41.18% 0.156 265.2) |
| XYZ | xyz(8.6553, 6.5553, 33.1503) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Sapphire (survey)
#2138AB
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 4.00
Darkish Blue
#014182
ΔE00 5.61
Blueberry
#464196
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20419E #9E7D20
analogous
#20809E #20419E #3E209E
triadic
#20419E #9E2041 #419E20
tetradic
#20419E #9E2080 #9E7D20 #209E3E
square
#20419E #9E2080 #9E7D20 #209E3E
split-complementary
#20419E #9E3E20 #809E20
monochromatic
#0B1738 #162C6B #20419E #2A56D1 #5B7DDE
Accessibility & contrast
On white
9.09
#20419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#20419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20419E
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20419E | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #20419e; /* rgb */ color: rgb(32, 65, 158); /* oklch */ color: oklch(41.2% 0.156 265.2);
Tailwind
colors: {
custom: {
50: '#7175bb',
500: '#20419e',
950: '#000000',
},
}SCSS
$custom: #20419e; $custom-light: #7175bb; $custom-dark: #000000;
JSON
{
"hex": "#20419e",
"rgb": {
"r": 32,
"g": 65,
"b": 158
},
"hsl": {
"h": 224.286,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.41181,
"c": 0.15626,
"h": 265.2
},
"luminance": 0.06556
}Semantic roles & 50–950 ramp
primary
#20419E
secondary
#C2A658
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81