Skip to content
Vectorlight.net

#186cf5

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

HEX
#186cf5
RGB
24, 108, 245
HSL
217.19°, 91.7%, 52.75%
OKLCH
0.57 0.22 260.49
Names
—
Lists

Codes

FormatValue
HEX#186cf5
RGBrgb(24 108 245)
HSLhsl(217.19 91.7% 52.75%)
OKLCHoklch(0.57 0.22 260.49)
CMYKcmyk(90.2% 55.92% 0% 3.92%)
Android#ff186cf5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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