#297e71
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 | #297e71 | |
| RGB | rgb(41 126 113) | |
| HSL | hsl(170.82 50.9% 32.75%) | |
| OKLCH | oklch(0.54 0.08 180.95) | |
| CMYK | cmyk(67.46% 0% 10.32% 50.59%) | |
| Android | #ff297e71 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#297e71"
Gradient stop
<stop stop-color="#297e71"/>
CSS variable + fill
:root { --c: #297e71; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #297e71; background-color: #297e71; bg-[#297e71]