#307178
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 | #307178 | |
| RGB | rgb(48 113 120) | |
| HSL | hsl(185.83 42.86% 32.94%) | |
| OKLCH | oklch(0.51 0.07 204.9) | |
| CMYK | cmyk(60% 5.83% 0% 52.94%) | |
| Android | #ff307178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.75:1
Fail AA normal text
Pass 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="#307178"
Gradient stop
<stop stop-color="#307178"/>
CSS variable + fill
:root { --c: #307178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #307178; background-color: #307178; bg-[#307178]