#31eafd
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 | #31eafd | |
| RGB | rgb(49 234 253) | |
| HSL | hsl(185.59 98.08% 59.22%) | |
| OKLCH | oklch(0.86 0.14 205.87) | |
| CMYK | cmyk(80.63% 7.51% 0% 0.78%) | |
| Android | #ff31eafd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.31: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="#31eafd"
Gradient stop
<stop stop-color="#31eafd"/>
CSS variable + fill
:root { --c: #31eafd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31eafd; background-color: #31eafd; bg-[#31eafd]