#54849b
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 | #54849b | |
| RGB | rgb(84 132 155) | |
| HSL | hsl(199.44 29.71% 46.86%) | |
| OKLCH | oklch(0.59 0.06 229.87) | |
| CMYK | cmyk(45.81% 14.84% 0% 39.22%) | |
| Android | #ff54849b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.15: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="#54849b"
Gradient stop
<stop stop-color="#54849b"/>
CSS variable + fill
:root { --c: #54849b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54849b; background-color: #54849b; bg-[#54849b]