Skip to content
Vectorlight.net

#4f87af

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

HEX
#4f87af
RGB
79, 135, 175
HSL
205°, 37.8%, 49.8%
OKLCH
0.6 0.09 241.21
Names
—
Lists

Codes

FormatValue
HEX#4f87af
RGBrgb(79 135 175)
HSLhsl(205 37.8% 49.8%)
OKLCHoklch(0.6 0.09 241.21)
CMYKcmyk(54.86% 22.86% 0% 31.37%)
Android#ff4f87af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4f87af;
background-color: #4f87af;
bg-[#4f87af]