#20409F#20409F
#20409F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 265.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #20409F |
|---|---|
| RGB | rgb(32, 64, 159) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.9%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.58, 24.42, -54.82) |
| CIE-LCH | lch(30.58, 60.01, 294.01°) |
| OKLab | oklab(41.07% -0.0124 -0.1584) |
| OKLCH | oklch(41.07% 0.159 265.5) |
| XYZ | xyz(8.6849, 6.4761, 33.5864) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Sapphire (survey)
#2138AB
ΔE00 3.52
Cobalt (survey)
#1E488F
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 5.65
Blueberry
#464196
ΔE00 5.66
Darkish Blue
#014182
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20409F #9F7F20
analogous
#207F9F #20409F #40209F
triadic
#20409F #9F2040 #409F20
tetradic
#20409F #9F207F #9F7F20 #209F40
square
#20409F #9F207F #9F7F20 #209F40
split-complementary
#20409F #9F4020 #7F9F20
monochromatic
#0B1739 #162B6C #20409F #2A55D2 #5B7CDE
Accessibility & contrast
On white
9.15
#20409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#20409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20409F
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20409F | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #20409f; /* rgb */ color: rgb(32, 64, 159); /* oklch */ color: oklch(41.1% 0.159 265.5);
Tailwind
colors: {
custom: {
50: '#7174bc',
500: '#20409f',
950: '#000000',
},
}SCSS
$custom: #20409f; $custom-light: #7174bc; $custom-dark: #000000;
JSON
{
"hex": "#20409f",
"rgb": {
"r": 32,
"g": 64,
"b": 159
},
"hsl": {
"h": 224.882,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.41065,
"c": 0.15889,
"h": 265.5
},
"luminance": 0.06477
}Semantic roles & 50–950 ramp
primary
#20409F
secondary
#C2A859
accent
#BE3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81