#20428E#20428E
#20428E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.132 H 263.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #20428E |
|---|---|
| RGB | rgb(32, 66, 142) |
| HSL | hsl(221, 63%, 34%) |
| HSV | hsv(221, 77%, 56%) |
| CMYK | cmyk(77.5%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(29.80, 16.32, -45.72) |
| CIE-LCH | lch(29.80, 48.54, 289.64°) |
| OKLab | oklab(40.06% -0.0151 -0.1316) |
| OKLCH | oklch(40.06% 0.132 263.5) |
| XYZ | xyz(7.4246, 6.1557, 26.3828) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.31
Darkish Blue
#014182
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.16
Twilight Blue
#0A437A
ΔE00 4.56
Prussian Blue
#004577
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20428E #8E6C20
analogous
#20798E #20428E #35208E
triadic
#20428E #8E2042 #428E20
tetradic
#20428E #8E2079 #8E6C20 #208E35
square
#20428E #8E2079 #8E6C20 #208E35
split-complementary
#20428E #8E3520 #798E20
monochromatic
#09142A #152B5C #20428E #2B59C0 #517AD8
Accessibility & contrast
On white
9.41
#20428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#20428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20428E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20428E | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #20428e; /* rgb */ color: rgb(32, 66, 142); /* oklch */ color: oklch(40.1% 0.132 263.5);
Tailwind
colors: {
custom: {
50: '#6d75b0',
500: '#20428e',
950: '#000000',
},
}SCSS
$custom: #20428e; $custom-light: #6d75b0; $custom-dark: #000000;
JSON
{
"hex": "#20428e",
"rgb": {
"r": 32,
"g": 66,
"b": 142
},
"hsl": {
"h": 221.455,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.40055,
"c": 0.13248,
"h": 263.5
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#20428E
secondary
#BB9A4F
accent
#B342E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F