#217ef8
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 | #217ef8 | |
| RGB | rgb(33 126 248) | |
| HSL | hsl(214.05 93.89% 55.1%) | |
| OKLCH | oklch(0.61 0.2 257.61) | |
| CMYK | cmyk(86.69% 49.19% 0% 2.75%) | |
| Android | #ff217ef8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40: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="#217ef8"
Gradient stop
<stop stop-color="#217ef8"/>
CSS variable + fill
:root { --c: #217ef8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #217ef8; background-color: #217ef8; bg-[#217ef8]