Skip to content
Vectorlight.net

#7894dc

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

HEX
#7894dc
RGB
120, 148, 220
HSL
223.2°, 58.82%, 66.67%
OKLCH
0.68 0.11 267.21
Names
—
Lists

Codes

FormatValue
HEX#7894dc
RGBrgb(120 148 220)
HSLhsl(223.2 58.82% 66.67%)
OKLCHoklch(0.68 0.11 267.21)
CMYKcmyk(45.45% 32.73% 0% 13.73%)
Android#ff7894dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7894dc;
background-color: #7894dc;
bg-[#7894dc]