#518c8a
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 | #518c8a | |
| RGB | rgb(81 140 138) | |
| HSL | hsl(177.97 26.7% 43.33%) | |
| OKLCH | oklch(0.6 0.06 192.83) | |
| CMYK | cmyk(42.14% 0% 1.43% 45.1%) | |
| Android | #ff518c8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.46: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="#518c8a"
Gradient stop
<stop stop-color="#518c8a"/>
CSS variable + fill
:root { --c: #518c8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #518c8a; background-color: #518c8a; bg-[#518c8a]