Skip to content
Vectorlight.net

#052cbe

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

HEX
#052cbe
RGB
5, 44, 190
HSL
227.35°, 94.87%, 38.24%
OKLCH
0.4 0.23 264.38
Names
—
Lists

Codes

FormatValue
HEX#052cbe
RGBrgb(5 44 190)
HSLhsl(227.35 94.87% 38.24%)
OKLCHoklch(0.4 0.23 264.38)
CMYKcmyk(97.37% 76.84% 0% 25.49%)
Android#ff052cbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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