Skip to content
Vectorlight.net

#51589a

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

HEX
#51589a
RGB
81, 88, 154
HSL
234.25°, 31.06%, 46.08%
OKLCH
0.49 0.11 277.14
Names
—
Lists

Codes

FormatValue
HEX#51589a
RGBrgb(81 88 154)
HSLhsl(234.25 31.06% 46.08%)
OKLCHoklch(0.49 0.11 277.14)
CMYKcmyk(47.4% 42.86% 0% 39.61%)
Android#ff51589a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51589a;
background-color: #51589a;
bg-[#51589a]