#40624e
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 | #40624e | |
| RGB | rgb(64 98 78) | |
| HSL | hsl(144.71 20.99% 31.76%) | |
| OKLCH | oklch(0.46 0.05 157.84) | |
| CMYK | cmyk(34.69% 0% 20.41% 61.57%) | |
| Android | #ff40624e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.07: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="#40624e"
Gradient stop
<stop stop-color="#40624e"/>
CSS variable + fill
:root { --c: #40624e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40624e; background-color: #40624e; bg-[#40624e]