Skip to content
Vectorlight.net

#797e9d

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

HEX
#797e9d
RGB
121, 126, 157
HSL
231.67°, 15.52%, 54.51%
OKLCH
0.6 0.05 277.7
Names
—
Lists

Codes

FormatValue
HEX#797e9d
RGBrgb(121 126 157)
HSLhsl(231.67 15.52% 54.51%)
OKLCHoklch(0.6 0.05 277.7)
CMYKcmyk(22.93% 19.75% 0% 38.43%)
Android#ff797e9d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#797e9d"
Gradient stop
<stop stop-color="#797e9d"/>
CSS variable + fill
:root { --c: #797e9d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #797e9d;
background-color: #797e9d;
bg-[#797e9d]