Skip to content
Vectorlight.net

#514f84

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

HEX
#514f84
RGB
81, 79, 132
HSL
242.26°, 25.12%, 41.37%
OKLCH
0.45 0.09 284.17
Names
—
Lists

Codes

FormatValue
HEX#514f84
RGBrgb(81 79 132)
HSLhsl(242.26 25.12% 41.37%)
OKLCHoklch(0.45 0.09 284.17)
CMYKcmyk(38.64% 40.15% 0% 48.24%)
Android#ff514f84

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #514f84;
background-color: #514f84;
bg-[#514f84]