Skip to content
Vectorlight.net

#4076fb

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

HEX
#4076fb
RGB
64, 118, 251
HSL
222.67°, 95.9%, 61.76%
OKLCH
0.6 0.21 264.36
Names
—
Lists

Codes

FormatValue
HEX#4076fb
RGBrgb(64 118 251)
HSLhsl(222.67 95.9% 61.76%)
OKLCHoklch(0.6 0.21 264.36)
CMYKcmyk(74.5% 52.99% 0% 1.57%)
Android#ff4076fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4076fb;
background-color: #4076fb;
bg-[#4076fb]