Skip to content
Vectorlight.net

#174a9d

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

HEX
#174a9d
RGB
23, 74, 157
HSL
217.16°, 74.44%, 35.29%
OKLCH
0.43 0.15 259.99
Names
—
Lists

Codes

FormatValue
HEX#174a9d
RGBrgb(23 74 157)
HSLhsl(217.16 74.44% 35.29%)
OKLCHoklch(0.43 0.15 259.99)
CMYKcmyk(85.35% 52.87% 0% 38.43%)
Android#ff174a9d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #174a9d;
background-color: #174a9d;
bg-[#174a9d]