#305752
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 | #305752 | |
| RGB | rgb(48 87 82) | |
| HSL | hsl(172.31 28.89% 26.47%) | |
| OKLCH | oklch(0.43 0.05 185.17) | |
| CMYK | cmyk(44.83% 0% 5.75% 65.88%) | |
| Android | #ff305752 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.61: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="#305752"
Gradient stop
<stop stop-color="#305752"/>
CSS variable + fill
:root { --c: #305752; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #305752; background-color: #305752; bg-[#305752]