#3166eb
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 | #3166eb | |
| RGB | rgb(49 102 235) | |
| HSL | hsl(222.9 82.3% 55.69%) | |
| OKLCH | oklch(0.56 0.21 264.18) | |
| CMYK | cmyk(79.15% 56.6% 0% 7.84%) | |
| Android | #ff3166eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#3166eb"
Gradient stop
<stop stop-color="#3166eb"/>
CSS variable + fill
:root { --c: #3166eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3166eb; background-color: #3166eb; bg-[#3166eb]