Skip to content
Vectorlight.net

#7897eb

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

HEX
#7897eb
RGB
120, 151, 235
HSL
223.83°, 74.19%, 69.61%
OKLCH
0.69 0.13 267.61
Names
—
Lists

Codes

FormatValue
HEX#7897eb
RGBrgb(120 151 235)
HSLhsl(223.83 74.19% 69.61%)
OKLCHoklch(0.69 0.13 267.61)
CMYKcmyk(48.94% 35.74% 0% 7.84%)
Android#ff7897eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7897eb;
background-color: #7897eb;
bg-[#7897eb]