Skip to content
Vectorlight.net

#166fd6

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

HEX
#166fd6
RGB
22, 111, 214
HSL
212.19°, 81.36%, 46.27%
OKLCH
0.55 0.18 256.14
Names
—
Lists

Codes

FormatValue
HEX#166fd6
RGBrgb(22 111 214)
HSLhsl(212.19 81.36% 46.27%)
OKLCHoklch(0.55 0.18 256.14)
CMYKcmyk(89.72% 48.13% 0% 16.08%)
Android#ff166fd6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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