Skip to content
Vectorlight.net

#052147

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

HEX
#052147
RGB
5, 33, 71
HSL
214.55°, 86.84%, 14.9%
OKLCH
0.25 0.08 257.2
Names
—
Lists

Codes

FormatValue
HEX#052147
RGBrgb(5 33 71)
HSLhsl(214.55 86.84% 14.9%)
OKLCHoklch(0.25 0.08 257.2)
CMYKcmyk(92.96% 53.52% 0% 72.16%)
Android#ff052147

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #052147;
background-color: #052147;
bg-[#052147]