#20117F#20117F
#20117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.1% C 0.168 H 275.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #20117F |
|---|---|
| RGB | rgb(32, 17, 127) |
| HSL | hsl(248, 76%, 28%) |
| HSV | hsv(248, 87%, 50%) |
| CMYK | cmyk(74.8%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.70, 41.61, -57.81) |
| CIE-LCH | lch(16.70, 71.23, 305.74°) |
| OKLab | oklab(30.06% 0.016 -0.1671) |
| OKLCH | oklch(30.06% 0.168 275.5) |
| XYZ | xyz(4.6256, 2.2398, 20.2631) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.16
Royal
#0C1793
ΔE00 3.29
Darkblue
#00008B
ΔE00 3.29
Midnight Blue
#191970
ΔE00 3.43
Deep Blue
#040273
ΔE00 3.53
Dark Royal Blue
#02066F
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20117F #707F11
analogous
#11397F #20117F #57117F
triadic
#20117F #7F2011 #117F20
tetradic
#20117F #7F1139 #707F11 #117F57
square
#20117F #7F1139 #707F11 #117F57
split-complementary
#20117F #7F5711 #397F11
monochromatic
#07041B #120A49 #20117F #2E18B5 #4228E2
Accessibility & contrast
On white
14.50
#20117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#20117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20117F
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20117F | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #20117f; /* rgb */ color: rgb(32, 17, 127); /* oklch */ color: oklch(30.1% 0.168 275.5);
Tailwind
colors: {
custom: {
50: '#6d54a5',
500: '#20117f',
950: '#000000',
},
}SCSS
$custom: #20117f; $custom-light: #6d54a5; $custom-dark: #000000;
JSON
{
"hex": "#20117f",
"rgb": {
"r": 32,
"g": 17,
"b": 127
},
"hsl": {
"h": 248.182,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.3006,
"c": 0.16786,
"h": 275.5
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#20117F
secondary
#A4B537
accent
#F335D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F