#20389E#20389E
#20389E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.167 H 267.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #20389E |
|---|---|
| RGB | rgb(32, 56, 158) |
| HSL | hsl(229, 66%, 37%) |
| HSV | hsv(229, 80%, 62%) |
| CMYK | cmyk(79.7%, 64.6%, 0%, 38%) |
| CIE-LAB | lab(28.39, 29.42, -57.80) |
| CIE-LCH | lch(28.39, 64.86, 296.97°) |
| OKLab | oklab(39.41% -0.0074 -0.1672) |
| OKLCH | oklch(39.41% 0.167 267.5) |
| XYZ | xyz(8.1792, 5.6031, 32.9916) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.94
Blueberry
#464196
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.74
Cobalt (survey)
#1E488F
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20389E #9E8620
analogous
#20779E #20389E #47209E
triadic
#20389E #9E2038 #389E20
tetradic
#20389E #9E2077 #9E8620 #209E47
square
#20389E #9E2077 #9E8620 #209E47
split-complementary
#20389E #9E4720 #779E20
monochromatic
#0B1438 #16266B #20389E #2A4AD1 #5B74DE
Accessibility & contrast
On white
9.90
#20389E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#20389E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20389E
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20389E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20389E | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #20389e; /* rgb */ color: rgb(32, 56, 158); /* oklch */ color: oklch(39.4% 0.167 267.5);
Tailwind
colors: {
custom: {
50: '#716ebc',
500: '#20389e',
950: '#000000',
},
}SCSS
$custom: #20389e; $custom-light: #716ebc; $custom-dark: #000000;
JSON
{
"hex": "#20389e",
"rgb": {
"r": 32,
"g": 56,
"b": 158
},
"hsl": {
"h": 228.571,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.39408,
"c": 0.16742,
"h": 267.5
},
"luminance": 0.05604
}Semantic roles & 50–950 ramp
primary
#20389E
secondary
#C2AE58
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81