Skip to content
Vectorlight.net

#186aec

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

HEX
#186aec
RGB
24, 106, 236
HSL
216.79°, 84.8%, 50.98%
OKLCH
0.56 0.21 260.16
Names
—
Lists

Codes

FormatValue
HEX#186aec
RGBrgb(24 106 236)
HSLhsl(216.79 84.8% 50.98%)
OKLCHoklch(0.56 0.21 260.16)
CMYKcmyk(89.83% 55.08% 0% 7.45%)
Android#ff186aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #186aec;
background-color: #186aec;
bg-[#186aec]