#305a46
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 | #305a46 | |
| RGB | rgb(48 90 70) | |
| HSL | hsl(151.43 30.43% 27.06%) | |
| OKLCH | oklch(0.43 0.06 161.92) | |
| CMYK | cmyk(46.67% 0% 22.22% 64.71%) | |
| Android | #ff305a46 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.67: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="#305a46"
Gradient stop
<stop stop-color="#305a46"/>
CSS variable + fill
:root { --c: #305a46; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #305a46; background-color: #305a46; bg-[#305a46]