Skip to content
Vectorlight.net

#4787cb

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

HEX
#4787cb
RGB
71, 135, 203
HSL
210.91°, 55.93%, 53.73%
OKLCH
0.61 0.12 251.73
Names
—
Lists

Codes

FormatValue
HEX#4787cb
RGBrgb(71 135 203)
HSLhsl(210.91 55.93% 53.73%)
OKLCHoklch(0.61 0.12 251.73)
CMYKcmyk(65.02% 33.5% 0% 20.39%)
Android#ff4787cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4787cb;
background-color: #4787cb;
bg-[#4787cb]