Skip to content
Vectorlight.net

#797992

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

HEX
#797992
RGB
121, 121, 146
HSL
240°, 10.29%, 52.35%
OKLCH
0.59 0.04 285.17
Names
—
Lists

Codes

FormatValue
HEX#797992
RGBrgb(121 121 146)
HSLhsl(240 10.29% 52.35%)
OKLCHoklch(0.59 0.04 285.17)
CMYKcmyk(17.12% 17.12% 0% 42.75%)
Android#ff797992

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #797992;
background-color: #797992;
bg-[#797992]