#162170
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 | #162170 | |
| RGB | rgb(22 33 112) | |
| HSL | hsl(232.67 67.16% 26.27%) | |
| OKLCH | oklch(0.3 0.14 269.6) | |
| CMYK | cmyk(80.36% 70.54% 0% 56.08%) | |
| Android | #ff162170 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.48: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="#162170"
Gradient stop
<stop stop-color="#162170"/>
CSS variable + fill
:root { --c: #162170; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #162170; background-color: #162170; bg-[#162170]