#308b8d
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 | #308b8d | |
| RGB | rgb(48 139 141) | |
| HSL | hsl(181.29 49.21% 37.06%) | |
| OKLCH | oklch(0.58 0.08 197.19) | |
| CMYK | cmyk(65.96% 1.42% 0% 44.71%) | |
| Android | #ff308b8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#308b8d"
Gradient stop
<stop stop-color="#308b8d"/>
CSS variable + fill
:root { --c: #308b8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #308b8d; background-color: #308b8d; bg-[#308b8d]