#545992
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 | #545992 | |
| RGB | rgb(84 89 146) | |
| HSL | hsl(235.16 26.96% 45.1%) | |
| OKLCH | oklch(0.49 0.09 278.61) | |
| CMYK | cmyk(42.47% 39.04% 0% 42.75%) | |
| Android | #ff545992 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.22:1
Fail AA normal text
Pass 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="#545992"
Gradient stop
<stop stop-color="#545992"/>
CSS variable + fill
:root { --c: #545992; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #545992; background-color: #545992; bg-[#545992]