Skip to content
Vectorlight.net

#166aec

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

HEX
#166aec
RGB
22, 106, 236
HSL
216.45°, 84.92%, 50.59%
OKLCH
0.56 0.21 259.99
Names
—
Lists

Codes

FormatValue
HEX#166aec
RGBrgb(22 106 236)
HSLhsl(216.45 84.92% 50.59%)
OKLCHoklch(0.56 0.21 259.99)
CMYKcmyk(90.68% 55.08% 0% 7.45%)
Android#ff166aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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