Skip to content
Vectorlight.net

#186dec

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

HEX
#186dec
RGB
24, 109, 236
HSL
215.94°, 84.8%, 50.98%
OKLCH
0.56 0.21 259.53
Names
—
Lists

Codes

FormatValue
HEX#186dec
RGBrgb(24 109 236)
HSLhsl(215.94 84.8% 50.98%)
OKLCHoklch(0.56 0.21 259.53)
CMYKcmyk(89.83% 53.81% 0% 7.45%)
Android#ff186dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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