Skip to content
Vectorlight.net

#186f7d

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

HEX
#186f7d
RGB
24, 111, 125
HSL
188.32°, 67.79%, 29.22%
OKLCH
0.5 0.08 211.21
Names
—
Lists

Codes

FormatValue
HEX#186f7d
RGBrgb(24 111 125)
HSLhsl(188.32 67.79% 29.22%)
OKLCHoklch(0.5 0.08 211.21)
CMYKcmyk(80.8% 11.2% 0% 50.98%)
Android#ff186f7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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