Skip to content
Vectorlight.net

#789cef

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

HEX
#789cef
RGB
120, 156, 239
HSL
221.85°, 78.81%, 70.39%
OKLCH
0.7 0.13 265.43
Names
—
Lists

Codes

FormatValue
HEX#789cef
RGBrgb(120 156 239)
HSLhsl(221.85 78.81% 70.39%)
OKLCHoklch(0.7 0.13 265.43)
CMYKcmyk(49.79% 34.73% 0% 6.27%)
Android#ff789cef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #789cef;
background-color: #789cef;
bg-[#789cef]