Skip to content
Vectorlight.net

#004fec

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

HEX
#004fec
RGB
0, 79, 236
HSL
219.92°, 100%, 46.27%
OKLCH
0.5 0.24 262.55
Names
—
Lists

Codes

FormatValue
HEX#004fec
RGBrgb(0 79 236)
HSLhsl(219.92 100% 46.27%)
OKLCHoklch(0.5 0.24 262.55)
CMYKcmyk(100% 66.53% 0% 7.45%)
Android#ff004fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#004fec"
Gradient stop
<stop stop-color="#004fec"/>
CSS variable + fill
:root { --c: #004fec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #004fec;
background-color: #004fec;
bg-[#004fec]