Skip to content
Vectorlight.net

#1874aa

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

HEX
#1874aa
RGB
24, 116, 170
HSL
202.19°, 75.26%, 38.04%
OKLCH
0.53 0.12 241.23
Names
—
Lists

Codes

FormatValue
HEX#1874aa
RGBrgb(24 116 170)
HSLhsl(202.19 75.26% 38.04%)
OKLCHoklch(0.53 0.12 241.23)
CMYKcmyk(85.88% 31.76% 0% 33.33%)
Android#ff1874aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1874aa;
background-color: #1874aa;
bg-[#1874aa]