#20349E#20349E
#20349E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.172 H 268.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #20349E |
|---|---|
| RGB | rgb(32, 52, 158) |
| HSL | hsl(230, 66%, 37%) |
| HSV | hsv(230, 80%, 62%) |
| CMYK | cmyk(79.7%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(27.38, 32.07, -59.45) |
| CIE-LCH | lch(27.38, 67.55, 298.34°) |
| OKLab | oklab(38.67% -0.0052 -0.1721) |
| OKLCH | oklch(38.67% 0.172 268.3) |
| XYZ | xyz(7.9931, 5.2308, 32.9295) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blueberry
#464196
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.85
Cobalt
#0047AB
ΔE00 6.87
Ocean Blue
#4F42B5
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20349E #9E8A20
analogous
#20739E #20349E #4B209E
triadic
#20349E #9E2034 #349E20
tetradic
#20349E #9E2073 #9E8A20 #209E4B
square
#20349E #9E2073 #9E8A20 #209E4B
split-complementary
#20349E #9E4B20 #739E20
monochromatic
#0B1338 #16236B #20349E #2A45D1 #5B6FDE
Accessibility & contrast
On white
10.26
#20349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#20349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20349E
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20349E | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #20349e; /* rgb */ color: rgb(32, 52, 158); /* oklch */ color: oklch(38.7% 0.172 268.3);
Tailwind
colors: {
custom: {
50: '#726bbc',
500: '#20349e',
950: '#000000',
},
}SCSS
$custom: #20349e; $custom-light: #726bbc; $custom-dark: #000000;
JSON
{
"hex": "#20349e",
"rgb": {
"r": 32,
"g": 52,
"b": 158
},
"hsl": {
"h": 230.476,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.3867,
"c": 0.17219,
"h": 268.3
},
"luminance": 0.05232
}Semantic roles & 50–950 ramp
primary
#20349E
secondary
#C2B158
accent
#CE3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81