Skip to content
Vectorlight.net

#05153d

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

HEX
#05153d
RGB
5, 21, 61
HSL
222.86°, 84.85%, 12.94%
OKLCH
0.21 0.08 263.57
Names
—
Lists

Codes

FormatValue
HEX#05153d
RGBrgb(5 21 61)
HSLhsl(222.86 84.85% 12.94%)
OKLCHoklch(0.21 0.08 263.57)
CMYKcmyk(91.8% 65.57% 0% 76.08%)
Android#ff05153d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #05153d;
background-color: #05153d;
bg-[#05153d]