Skip to content
Vectorlight.net

#172cdb

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

HEX
#172cdb
RGB
23, 44, 219
HSL
233.57°, 80.99%, 47.45%
OKLCH
0.44 0.26 266.25
Names
—
Lists

Codes

FormatValue
HEX#172cdb
RGBrgb(23 44 219)
HSLhsl(233.57 80.99% 47.45%)
OKLCHoklch(0.44 0.26 266.25)
CMYKcmyk(89.5% 79.91% 0% 14.12%)
Android#ff172cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #172cdb;
background-color: #172cdb;
bg-[#172cdb]