Skip to content
Vectorlight.net

#186acc

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

HEX
#186acc
RGB
24, 106, 204
HSL
212.67°, 78.95%, 44.71%
OKLCH
0.53 0.17 256.35
Names
—
Lists

Codes

FormatValue
HEX#186acc
RGBrgb(24 106 204)
HSLhsl(212.67 78.95% 44.71%)
OKLCHoklch(0.53 0.17 256.35)
CMYKcmyk(88.24% 48.04% 0% 20%)
Android#ff186acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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