Skip to content
Vectorlight.net

#4f74db

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

HEX
#4f74db
RGB
79, 116, 219
HSL
224.14°, 66.04%, 58.43%
OKLCH
0.58 0.16 266.55
Names
—
Lists

Codes

FormatValue
HEX#4f74db
RGBrgb(79 116 219)
HSLhsl(224.14 66.04% 58.43%)
OKLCHoklch(0.58 0.16 266.55)
CMYKcmyk(63.93% 47.03% 0% 14.12%)
Android#ff4f74db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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