#217fa6
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 | #217fa6 | |
| RGB | rgb(33 127 166) | |
| HSL | hsl(197.59 66.83% 39.02%) | |
| OKLCH | oklch(0.56 0.1 231.11) | |
| CMYK | cmyk(80.12% 23.49% 0% 34.9%) | |
| Android | #ff217fa6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#217fa6"
Gradient stop
<stop stop-color="#217fa6"/>
CSS variable + fill
:root { --c: #217fa6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #217fa6; background-color: #217fa6; bg-[#217fa6]