#305347
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 | #305347 | |
| RGB | rgb(48 83 71) | |
| HSL | hsl(159.43 26.72% 25.69%) | |
| OKLCH | oklch(0.41 0.05 170.14) | |
| CMYK | cmyk(42.17% 0% 14.46% 67.45%) | |
| Android | #ff305347 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.45: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="#305347"
Gradient stop
<stop stop-color="#305347"/>
CSS variable + fill
:root { --c: #305347; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #305347; background-color: #305347; bg-[#305347]