#40b4bb
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 | #40b4bb | |
| RGB | rgb(64 180 187) | |
| HSL | hsl(183.41 49% 49.22%) | |
| OKLCH | oklch(0.71 0.1 200.85) | |
| CMYK | cmyk(65.78% 3.74% 0% 26.67%) | |
| Android | #ff40b4bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.46: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="#40b4bb"
Gradient stop
<stop stop-color="#40b4bb"/>
CSS variable + fill
:root { --c: #40b4bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40b4bb; background-color: #40b4bb; bg-[#40b4bb]