#214171
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 | #214171 | |
| RGB | rgb(33 65 113) | |
| HSL | hsl(216 54.79% 28.63%) | |
| OKLCH | oklch(0.38 0.09 258.37) | |
| CMYK | cmyk(70.8% 42.48% 0% 55.69%) | |
| Android | #ff214171 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.05:1
Fail AA normal text
Fail 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="#214171"
Gradient stop
<stop stop-color="#214171"/>
CSS variable + fill
:root { --c: #214171; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #214171; background-color: #214171; bg-[#214171]