#166bff
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 | #166bff | |
| RGB | rgb(22 107 255) | |
| HSL | hsl(218.11 100% 54.31%) | |
| OKLCH | oklch(0.58 0.23 261.18) | |
| CMYK | cmyk(91.37% 58.04% 0% 0%) | |
| Android | #ff166bff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass 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="#166bff"
Gradient stop
<stop stop-color="#166bff"/>
CSS variable + fill
:root { --c: #166bff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166bff; background-color: #166bff; bg-[#166bff]