#20399B#20399B
#20399B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.162 H 267.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #20399B |
|---|---|
| RGB | rgb(32, 57, 155) |
| HSL | hsl(228, 66%, 37%) |
| HSV | hsv(228, 79%, 61%) |
| CMYK | cmyk(79.4%, 63.2%, 0%, 39.2%) |
| CIE-LAB | lab(28.38, 27.59, -55.99) |
| CIE-LCH | lch(28.38, 62.42, 296.24°) |
| OKLab | oklab(39.32% -0.008 -0.1619) |
| OKLCH | oklch(39.32% 0.162 267.2) |
| XYZ | xyz(7.9731, 5.5990, 31.6645) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Cobalt
#0047AB
ΔE00 5.43
Blueberry
#464196
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 6.25
Blue Blue
#2242C7
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20399B #9B8220
analogous
#20779B #20399B #45209B
triadic
#20399B #9B2039 #399B20
tetradic
#20399B #9B2077 #9B8220 #209B45
square
#20399B #9B2077 #9B8220 #209B45
split-complementary
#20399B #9B4520 #779B20
monochromatic
#0B1436 #162668 #20399B #2A4CCE #5974DD
Accessibility & contrast
On white
9.91
#20399B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#20399B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20399B
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20399B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20399B | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #20399b; /* rgb */ color: rgb(32, 57, 155); /* oklch */ color: oklch(39.3% 0.162 267.2);
Tailwind
colors: {
custom: {
50: '#716fb9',
500: '#20399b',
950: '#000000',
},
}SCSS
$custom: #20399b; $custom-light: #716fb9; $custom-dark: #000000;
JSON
{
"hex": "#20399b",
"rgb": {
"r": 32,
"g": 57,
"b": 155
},
"hsl": {
"h": 227.805,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.39317,
"c": 0.16214,
"h": 267.2
},
"luminance": 0.056
}Semantic roles & 50–950 ramp
primary
#20399B
secondary
#C1AB56
accent
#C63FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81