#20399F#20399F
#20399F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.168 H 267.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #20399F |
|---|---|
| RGB | rgb(32, 57, 159) |
| HSL | hsl(228, 66%, 37%) |
| HSV | hsv(228, 80%, 62%) |
| CMYK | cmyk(79.9%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.74, 29.13, -57.84) |
| CIE-LCH | lch(28.74, 64.76, 296.73°) |
| OKLab | oklab(39.69% -0.0081 -0.1673) |
| OKLCH | oklch(39.69% 0.168 267.2) |
| XYZ | xyz(8.3146, 5.7356, 33.4630) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.89
Cobalt
#0047AB
ΔE00 5.38
Blueberry
#464196
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.88
Cobalt (survey)
#1E488F
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20399F #9F8620
analogous
#20789F #20399F #47209F
triadic
#20399F #9F2039 #399F20
tetradic
#20399F #9F2078 #9F8620 #209F47
square
#20399F #9F2078 #9F8620 #209F47
split-complementary
#20399F #9F4720 #789F20
monochromatic
#0B1439 #16276C #20399F #2A4BD2 #5B75DE
Accessibility & contrast
On white
9.78
#20399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#20399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20399F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20399F | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #20399f; /* rgb */ color: rgb(32, 57, 159); /* oklch */ color: oklch(39.7% 0.168 267.2);
Tailwind
colors: {
custom: {
50: '#726fbc',
500: '#20399f',
950: '#000000',
},
}SCSS
$custom: #20399f; $custom-light: #726fbc; $custom-dark: #000000;
JSON
{
"hex": "#20399f",
"rgb": {
"r": 32,
"g": 57,
"b": 159
},
"hsl": {
"h": 228.189,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.39692,
"c": 0.16754,
"h": 267.2
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#20399F
secondary
#C2AD59
accent
#C83EE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81