#50488a
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 | #50488a | |
| RGB | rgb(80 72 138) | |
| HSL | hsl(247.27 31.43% 41.18%) | |
| OKLCH | oklch(0.44 0.11 286.79) | |
| CMYK | cmyk(42.03% 47.83% 0% 45.88%) | |
| Android | #ff50488a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.63: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="#50488a"
Gradient stop
<stop stop-color="#50488a"/>
CSS variable + fill
:root { --c: #50488a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #50488a; background-color: #50488a; bg-[#50488a]