Skip to content
Vectorlight.net

#0d313f

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

HEX
#0d313f
RGB
13, 49, 63
HSL
196.8°, 65.79%, 14.9%
OKLCH
0.29 0.05 227.68
Names
—
Lists

Codes

FormatValue
HEX#0d313f
RGBrgb(13 49 63)
HSLhsl(196.8 65.79% 14.9%)
OKLCHoklch(0.29 0.05 227.68)
CMYKcmyk(79.37% 22.22% 0% 75.29%)
Android#ff0d313f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0d313f;
background-color: #0d313f;
bg-[#0d313f]