#3181df
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 | #3181df | |
| RGB | rgb(49 129 223) | |
| HSL | hsl(212.41 73.11% 53.33%) | |
| OKLCH | oklch(0.6 0.16 254.88) | |
| CMYK | cmyk(78.03% 42.15% 0% 12.55%) | |
| Android | #ff3181df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.33:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#3181df"
Gradient stop
<stop stop-color="#3181df"/>
CSS variable + fill
:root { --c: #3181df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3181df; background-color: #3181df; bg-[#3181df]