Skip to content
Vectorlight.net

#7896cd

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

HEX
#7896cd
RGB
120, 150, 205
HSL
218.82°, 45.95%, 63.73%
OKLCH
0.67 0.09 262.16
Names
—
Lists

Codes

FormatValue
HEX#7896cd
RGBrgb(120 150 205)
HSLhsl(218.82 45.95% 63.73%)
OKLCHoklch(0.67 0.09 262.16)
CMYKcmyk(41.46% 26.83% 0% 19.61%)
Android#ff7896cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7896cd;
background-color: #7896cd;
bg-[#7896cd]