#50879b
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 | #50879b | |
| RGB | rgb(80 135 155) | |
| HSL | hsl(196 31.91% 46.08%) | |
| OKLCH | oklch(0.59 0.07 223.4) | |
| CMYK | cmyk(48.39% 12.9% 0% 39.22%) | |
| Android | #ff50879b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.97:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.27: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="#50879b"
Gradient stop
<stop stop-color="#50879b"/>
CSS variable + fill
:root { --c: #50879b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #50879b; background-color: #50879b; bg-[#50879b]