Skip to content
Vectorlight.net

#166bcf

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

HEX
#166bcf
RGB
22, 107, 207
HSL
212.43°, 80.79%, 44.9%
OKLCH
0.54 0.17 256.3
Names
—
Lists

Codes

FormatValue
HEX#166bcf
RGBrgb(22 107 207)
HSLhsl(212.43 80.79% 44.9%)
OKLCHoklch(0.54 0.17 256.3)
CMYKcmyk(89.37% 48.31% 0% 18.82%)
Android#ff166bcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #166bcf;
background-color: #166bcf;
bg-[#166bcf]