Skip to content
Vectorlight.net

#15313e

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

HEX
#15313e
RGB
21, 49, 62
HSL
199.02°, 49.4%, 16.27%
OKLCH
0.3 0.04 230.39
Names
—
Lists

Codes

FormatValue
HEX#15313e
RGBrgb(21 49 62)
HSLhsl(199.02 49.4% 16.27%)
OKLCHoklch(0.3 0.04 230.39)
CMYKcmyk(66.13% 20.97% 0% 75.69%)
Android#ff15313e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #15313e;
background-color: #15313e;
bg-[#15313e]