#20117C#20117C
#20117C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.164 H 275.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #20117C |
|---|---|
| RGB | rgb(32, 17, 124) |
| HSL | hsl(248, 76%, 28%) |
| HSV | hsv(248, 86%, 49%) |
| CMYK | cmyk(74.2%, 86.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.32, 40.67, -56.52) |
| CIE-LCH | lch(16.32, 69.64, 305.74°) |
| OKLab | oklab(29.69% 0.017 -0.1634) |
| OKLCH | oklch(29.69% 0.164 275.9) |
| XYZ | xyz(4.4330, 2.1628, 19.2487) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.11
Navy
#000080
ΔE00 3.23
Dark Royal Blue
#02066F
ΔE00 3.34
Deep Blue
#040273
ΔE00 3.35
Darkblue
#00008B
ΔE00 3.56
Royal
#0C1793
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20117C #6D7C11
analogous
#11387C #20117C #55117C
triadic
#20117C #7C2011 #117C20
tetradic
#20117C #7C1138 #6D7C11 #117C55
square
#20117C #7C1138 #6D7C11 #117C55
split-complementary
#20117C #7C5511 #387C11
monochromatic
#07041B #120A46 #20117C #2E18B2 #4026E1
Accessibility & contrast
On white
14.66
#20117C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#20117C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20117C
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20117C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20117C | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #20117c; /* rgb */ color: rgb(32, 17, 124); /* oklch */ color: oklch(29.7% 0.164 275.9);
Tailwind
colors: {
custom: {
50: '#6c54a3',
500: '#20117c',
950: '#000000',
},
}SCSS
$custom: #20117c; $custom-light: #6c54a3; $custom-dark: #000000;
JSON
{
"hex": "#20117c",
"rgb": {
"r": 32,
"g": 17,
"b": 124
},
"hsl": {
"h": 248.411,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.2969,
"c": 0.16424,
"h": 275.9
},
"luminance": 0.02163
}Semantic roles & 50–950 ramp
primary
#20117C
secondary
#A1B237
accent
#F235D8
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F