#166cdf
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 | #166cdf | |
| RGB | rgb(22 108 223) | |
| HSL | hsl(214.33 82.04% 48.04%) | |
| OKLCH | oklch(0.55 0.19 258.22) | |
| CMYK | cmyk(90.13% 51.57% 0% 12.55%) | |
| Android | #ff166cdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.24: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="#166cdf"
Gradient stop
<stop stop-color="#166cdf"/>
CSS variable + fill
:root { --c: #166cdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166cdf; background-color: #166cdf; bg-[#166cdf]