Skip to content
Vectorlight.net

#046fe5

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

HEX
#046fe5
RGB
4, 111, 229
HSL
211.47°, 96.57%, 45.69%
OKLCH
0.56 0.2 257.11
Names
—
Lists

Codes

FormatValue
HEX#046fe5
RGBrgb(4 111 229)
HSLhsl(211.47 96.57% 45.69%)
OKLCHoklch(0.56 0.2 257.11)
CMYKcmyk(98.25% 51.53% 0% 10.2%)
Android#ff046fe5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #046fe5;
background-color: #046fe5;
bg-[#046fe5]