#31aedf
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 | #31aedf | |
| RGB | rgb(49 174 223) | |
| HSL | hsl(196.9 73.11% 53.33%) | |
| OKLCH | oklch(0.71 0.13 229.58) | |
| CMYK | cmyk(78.03% 21.97% 0% 12.55%) | |
| Android | #ff31aedf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.25: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="#31aedf"
Gradient stop
<stop stop-color="#31aedf"/>
CSS variable + fill
:root { --c: #31aedf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31aedf; background-color: #31aedf; bg-[#31aedf]