Skip to content
Vectorlight.net

#1f14aa

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

HEX
#1f14aa
RGB
31, 20, 170
HSL
244.4°, 78.95%, 37.25%
OKLCH
0.36 0.22 270.47
Names
—
Lists

Codes

FormatValue
HEX#1f14aa
RGBrgb(31 20 170)
HSLhsl(244.4 78.95% 37.25%)
OKLCHoklch(0.36 0.22 270.47)
CMYKcmyk(81.76% 88.24% 0% 33.33%)
Android#ff1f14aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f14aa;
background-color: #1f14aa;
bg-[#1f14aa]