Skip to content
Vectorlight.net

#03317a

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

HEX
#03317a
RGB
3, 49, 122
HSL
216.81°, 95.2%, 24.51%
OKLCH
0.34 0.13 260.15
Names
—
Lists

Codes

FormatValue
HEX#03317a
RGBrgb(3 49 122)
HSLhsl(216.81 95.2% 24.51%)
OKLCHoklch(0.34 0.13 260.15)
CMYKcmyk(97.54% 59.84% 0% 52.16%)
Android#ff03317a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #03317a;
background-color: #03317a;
bg-[#03317a]