#216fd4
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 | #216fd4 | |
| RGB | rgb(33 111 212) | |
| HSL | hsl(213.85 73.06% 48.04%) | |
| OKLCH | oklch(0.55 0.17 257.08) | |
| CMYK | cmyk(84.43% 47.64% 0% 16.86%) | |
| Android | #ff216fd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#216fd4"
Gradient stop
<stop stop-color="#216fd4"/>
CSS variable + fill
:root { --c: #216fd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #216fd4; background-color: #216fd4; bg-[#216fd4]