Skip to content
Vectorlight.net

#1878bb

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

HEX
#1878bb
RGB
24, 120, 187
HSL
204.66°, 77.25%, 41.37%
OKLCH
0.55 0.13 245.8
Names
—
Lists

Codes

FormatValue
HEX#1878bb
RGBrgb(24 120 187)
HSLhsl(204.66 77.25% 41.37%)
OKLCHoklch(0.55 0.13 245.8)
CMYKcmyk(87.17% 35.83% 0% 26.67%)
Android#ff1878bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1878bb;
background-color: #1878bb;
bg-[#1878bb]