#166e9c
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 | #166e9c | |
| RGB | rgb(22 110 156) | |
| HSL | hsl(200.6 75.28% 34.9%) | |
| OKLCH | oklch(0.51 0.11 238.2) | |
| CMYK | cmyk(85.9% 29.49% 0% 38.82%) | |
| Android | #ff166e9c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.74:1
Fail AA normal text
Pass 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="#166e9c"
Gradient stop
<stop stop-color="#166e9c"/>
CSS variable + fill
:root { --c: #166e9c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166e9c; background-color: #166e9c; bg-[#166e9c]