#20399E#20399E
#20399E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.166 H 267.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #20399E |
|---|---|
| RGB | rgb(32, 57, 158) |
| HSL | hsl(228, 66%, 37%) |
| HSV | hsv(228, 80%, 62%) |
| CMYK | cmyk(79.7%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(28.65, 28.75, -57.38) |
| CIE-LCH | lch(28.65, 64.18, 296.61°) |
| OKLab | oklab(39.6% -0.008 -0.166) |
| OKLCH | oklch(39.6% 0.166 267.2) |
| XYZ | xyz(8.2282, 5.7010, 33.0079) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.03
Cobalt
#0047AB
ΔE00 5.39
Blueberry
#464196
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 6.01
Cobalt (survey)
#1E488F
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20399E #9E8520
analogous
#20789E #20399E #46209E
triadic
#20399E #9E2039 #399E20
tetradic
#20399E #9E2078 #9E8520 #209E46
square
#20399E #9E2078 #9E8520 #209E46
split-complementary
#20399E #9E4620 #789E20
monochromatic
#0B1438 #16276B #20399E #2A4BD1 #5B75DE
Accessibility & contrast
On white
9.81
#20399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#20399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20399E
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20399E | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #20399e; /* rgb */ color: rgb(32, 57, 158); /* oklch */ color: oklch(39.6% 0.166 267.2);
Tailwind
colors: {
custom: {
50: '#716fbc',
500: '#20399e',
950: '#000000',
},
}SCSS
$custom: #20399e; $custom-light: #716fbc; $custom-dark: #000000;
JSON
{
"hex": "#20399e",
"rgb": {
"r": 32,
"g": 57,
"b": 158
},
"hsl": {
"h": 228.095,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.39598,
"c": 0.16619,
"h": 267.2
},
"luminance": 0.05702
}Semantic roles & 50–950 ramp
primary
#20399E
secondary
#C2AD58
accent
#C73FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81