Skip to content
Vectorlight.net

#1876ac

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

HEX
#1876ac
RGB
24, 118, 172
HSL
201.89°, 75.51%, 38.43%
OKLCH
0.54 0.12 240.75
Names
—
Lists

Codes

FormatValue
HEX#1876ac
RGBrgb(24 118 172)
HSLhsl(201.89 75.51% 38.43%)
OKLCHoklch(0.54 0.12 240.75)
CMYKcmyk(86.05% 31.4% 0% 32.55%)
Android#ff1876ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1876ac;
background-color: #1876ac;
bg-[#1876ac]