#20117E#20117E
#20117E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.167 H 275.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #20117E |
|---|---|
| RGB | rgb(32, 17, 126) |
| HSL | hsl(248, 76%, 28%) |
| HSV | hsv(248, 87%, 49%) |
| CMYK | cmyk(74.6%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.57, 41.30, -57.38) |
| CIE-LCH | lch(16.57, 70.70, 305.74°) |
| OKLab | oklab(29.94% 0.0163 -0.1658) |
| OKLCH | oklch(29.94% 0.167 275.6) |
| XYZ | xyz(4.5608, 2.2139, 19.9216) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.18
Midnight Blue
#191970
ΔE00 3.32
Darkblue
#00008B
ΔE00 3.37
Royal
#0C1793
ΔE00 3.42
Deep Blue
#040273
ΔE00 3.47
Dark Royal Blue
#02066F
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20117E #6F7E11
analogous
#11387E #20117E #56117E
triadic
#20117E #7E2011 #117E20
tetradic
#20117E #7E1138 #6F7E11 #117E56
square
#20117E #7E1138 #6F7E11 #117E56
split-complementary
#20117E #7E5611 #387E11
monochromatic
#07041B #120A48 #20117E #2E18B4 #4127E2
Accessibility & contrast
On white
14.56
#20117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#20117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20117E
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20117E | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #20117e; /* rgb */ color: rgb(32, 17, 126); /* oklch */ color: oklch(29.9% 0.167 275.6);
Tailwind
colors: {
custom: {
50: '#6d54a5',
500: '#20117e',
950: '#000000',
},
}SCSS
$custom: #20117e; $custom-light: #6d54a5; $custom-dark: #000000;
JSON
{
"hex": "#20117e",
"rgb": {
"r": 32,
"g": 17,
"b": 126
},
"hsl": {
"h": 248.257,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.29936,
"c": 0.16665,
"h": 275.6
},
"luminance": 0.02214
}Semantic roles & 50–950 ramp
primary
#20117E
secondary
#A3B437
accent
#F335D9
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F