#20007a
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #20007a | |
| RGB | rgb(32 0 122) | |
| HSL | hsl(255.74 100% 23.92%) | |
| OKLCH | oklch(0.28 0.17 277.51) | |
| CMYK | cmyk(73.77% 100% 0% 52.16%) | |
| Android | #ff20007a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.34:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#20007a"
Gradient stop
<stop stop-color="#20007a"/>
CSS variable + fill
:root { --c: #20007a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #20007a; background-color: #20007a; bg-[#20007a]