Skip to content
Vectorlight.net

#51549f

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

HEX
#51549f
RGB
81, 84, 159
HSL
237.69°, 32.5%, 47.06%
OKLCH
0.48 0.12 279.21
Names
—
Lists

Codes

FormatValue
HEX#51549f
RGBrgb(81 84 159)
HSLhsl(237.69 32.5% 47.06%)
OKLCHoklch(0.48 0.12 279.21)
CMYKcmyk(49.06% 47.17% 0% 37.65%)
Android#ff51549f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.11:1
Fail AA normal text
Pass 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="#51549f"
Gradient stop
<stop stop-color="#51549f"/>
CSS variable + fill
:root { --c: #51549f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #51549f;
background-color: #51549f;
bg-[#51549f]