Skip to content
Vectorlight.net

#0472ec

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

HEX
#0472ec
RGB
4, 114, 236
HSL
211.55°, 96.67%, 47.06%
OKLCH
0.57 0.2 257.24
Names
—
Lists

Codes

FormatValue
HEX#0472ec
RGBrgb(4 114 236)
HSLhsl(211.55 96.67% 47.06%)
OKLCHoklch(0.57 0.2 257.24)
CMYKcmyk(98.31% 51.69% 0% 7.45%)
Android#ff0472ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0472ec;
background-color: #0472ec;
bg-[#0472ec]