Skip to content
Vectorlight.net

#51698a

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

HEX
#51698a
RGB
81, 105, 138
HSL
214.74°, 26.03%, 42.94%
OKLCH
0.52 0.06 256.47
Names
—
Lists

Codes

FormatValue
HEX#51698a
RGBrgb(81 105 138)
HSLhsl(214.74 26.03% 42.94%)
OKLCHoklch(0.52 0.06 256.47)
CMYKcmyk(41.3% 23.91% 0% 45.88%)
Android#ff51698a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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