Skip to content
Vectorlight.net

#4f7ecf

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

HEX
#4f7ecf
RGB
79, 126, 207
HSL
217.97°, 57.14%, 56.08%
OKLCH
0.6 0.13 260.61
Names
—
Lists

Codes

FormatValue
HEX#4f7ecf
RGBrgb(79 126 207)
HSLhsl(217.97 57.14% 56.08%)
OKLCHoklch(0.6 0.13 260.61)
CMYKcmyk(61.84% 39.13% 0% 18.82%)
Android#ff4f7ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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