#20379C#20379C
#20379C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.166 H 267.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #20379C |
|---|---|
| RGB | rgb(32, 55, 156) |
| HSL | hsl(229, 66%, 37%) |
| HSV | hsv(229, 79%, 61%) |
| CMYK | cmyk(79.5%, 64.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.95, 29.32, -57.30) |
| CIE-LCH | lch(27.95, 64.37, 297.10°) |
| OKLab | oklab(39.03% -0.0068 -0.1658) |
| OKLCH | oklch(39.03% 0.166 267.7) |
| XYZ | xyz(7.9605, 5.4388, 32.0763) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blueberry
#464196
ΔE00 5.56
Cobalt
#0047AB
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.66
Cobalt (survey)
#1E488F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20379C #9C8520
analogous
#20759C #20379C #47209C
triadic
#20379C #9C2037 #379C20
tetradic
#20379C #9C2075 #9C8520 #209C47
square
#20379C #9C2075 #9C8520 #209C47
split-complementary
#20379C #9C4720 #759C20
monochromatic
#0B1336 #162569 #20379C #2A49CF #5972DD
Accessibility & contrast
On white
10.06
#20379C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#20379C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20379C
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20379C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20379C | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #20379c; /* rgb */ color: rgb(32, 55, 156); /* oklch */ color: oklch(39.0% 0.166 267.7);
Tailwind
colors: {
custom: {
50: '#716dba',
500: '#20379c',
950: '#000000',
},
}SCSS
$custom: #20379c; $custom-light: #716dba; $custom-dark: #000000;
JSON
{
"hex": "#20379c",
"rgb": {
"r": 32,
"g": 55,
"b": 156
},
"hsl": {
"h": 228.871,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.39029,
"c": 0.16594,
"h": 267.7
},
"luminance": 0.0544
}Semantic roles & 50–950 ramp
primary
#20379C
secondary
#C1AD57
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81