#40958f
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 | #40958f | |
| RGB | rgb(64 149 143) | |
| HSL | hsl(175.76 39.91% 41.76%) | |
| OKLCH | oklch(0.62 0.08 188.94) | |
| CMYK | cmyk(57.05% 0% 4.03% 41.57%) | |
| Android | #ff40958f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.55:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.91: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="#40958f"
Gradient stop
<stop stop-color="#40958f"/>
CSS variable + fill
:root { --c: #40958f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40958f; background-color: #40958f; bg-[#40958f]