Skip to content
Vectorlight.net

#052ecf

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

HEX
#052ecf
RGB
5, 46, 207
HSL
227.82°, 95.28%, 41.57%
OKLCH
0.42 0.24 264.39
Names
—
Lists

Codes

FormatValue
HEX#052ecf
RGBrgb(5 46 207)
HSLhsl(227.82 95.28% 41.57%)
OKLCHoklch(0.42 0.24 264.39)
CMYKcmyk(97.58% 77.78% 0% 18.82%)
Android#ff052ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #052ecf;
background-color: #052ecf;
bg-[#052ecf]