#170993
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 | #170993 | |
| RGB | rgb(23 9 147) | |
| HSL | hsl(246.09 88.46% 30.59%) | |
| OKLCH | oklch(0.31 0.2 269.83) | |
| CMYK | cmyk(84.35% 93.88% 0% 42.35%) | |
| Android | #ff170993 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.49: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="#170993"
Gradient stop
<stop stop-color="#170993"/>
CSS variable + fill
:root { --c: #170993; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #170993; background-color: #170993; bg-[#170993]