Skip to content
Vectorlight.net

#1856cf

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

HEX
#1856cf
RGB
24, 86, 207
HSL
219.67°, 79.22%, 45.29%
OKLCH
0.49 0.2 261.94
Names
—
Lists

Codes

FormatValue
HEX#1856cf
RGBrgb(24 86 207)
HSLhsl(219.67 79.22% 45.29%)
OKLCHoklch(0.49 0.2 261.94)
CMYKcmyk(88.41% 58.45% 0% 18.82%)
Android#ff1856cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1856cf;
background-color: #1856cf;
bg-[#1856cf]