#2b5960
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 | #2b5960 | |
| RGB | rgb(43 89 96) | |
| HSL | hsl(187.92 38.13% 27.25%) | |
| OKLCH | oklch(0.43 0.05 208.4) | |
| CMYK | cmyk(55.21% 7.29% 0% 62.35%) | |
| Android | #ff2b5960 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.70: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="#2b5960"
Gradient stop
<stop stop-color="#2b5960"/>
CSS variable + fill
:root { --c: #2b5960; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b5960; background-color: #2b5960; bg-[#2b5960]