Skip to content
Vectorlight.net

#54507d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#54507d
RGB
84, 80, 125
HSL
245.33°, 21.95%, 40.2%
OKLCH
0.45 0.07 287.21
Names
—
Lists

Codes

FormatValue
HEX#54507d
RGBrgb(84 80 125)
HSLhsl(245.33 21.95% 40.2%)
OKLCHoklch(0.45 0.07 287.21)
CMYKcmyk(32.8% 36% 0% 50.98%)
Android#ff54507d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.82:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#54507d"
Gradient stop
<stop stop-color="#54507d"/>
CSS variable + fill
:root { --c: #54507d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #54507d;
background-color: #54507d;
bg-[#54507d]