Skip to content
Vectorlight.net

#170992

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

HEX
#170992
RGB
23, 9, 146
HSL
246.13°, 88.39%, 30.39%
OKLCH
0.31 0.2 269.9
Names
—
Lists

Codes

FormatValue
HEX#170992
RGBrgb(23 9 146)
HSLhsl(246.13 88.39% 30.39%)
OKLCHoklch(0.31 0.2 269.9)
CMYKcmyk(84.25% 93.84% 0% 42.75%)
Android#ff170992

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #170992;
background-color: #170992;
bg-[#170992]