Skip to content
Vectorlight.net

#0d237a

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

HEX
#0d237a
RGB
13, 35, 122
HSL
227.89°, 80.74%, 26.47%
OKLCH
0.31 0.15 265.91
Names
—
Lists

Codes

FormatValue
HEX#0d237a
RGBrgb(13 35 122)
HSLhsl(227.89 80.74% 26.47%)
OKLCHoklch(0.31 0.15 265.91)
CMYKcmyk(89.34% 71.31% 0% 52.16%)
Android#ff0d237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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