#166287
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 | #166287 | |
| RGB | rgb(22 98 135) | |
| HSL | hsl(199.65 71.97% 30.78%) | |
| OKLCH | oklch(0.47 0.09 235.63) | |
| CMYK | cmyk(83.7% 27.41% 0% 47.06%) | |
| Android | #ff166287 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#166287"
Gradient stop
<stop stop-color="#166287"/>
CSS variable + fill
:root { --c: #166287; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166287; background-color: #166287; bg-[#166287]