#545180
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 | #545180 | |
| RGB | rgb(84 81 128) | |
| HSL | hsl(243.83 22.49% 40.98%) | |
| OKLCH | oklch(0.46 0.08 285.92) | |
| CMYK | cmyk(34.38% 36.72% 0% 49.8%) | |
| Android | #ff545180 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86: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="#545180"
Gradient stop
<stop stop-color="#545180"/>
CSS variable + fill
:root { --c: #545180; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #545180; background-color: #545180; bg-[#545180]