Skip to content
Vectorlight.net

#166ccf

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

HEX
#166ccf
RGB
22, 108, 207
HSL
212.11°, 80.79%, 44.9%
OKLCH
0.54 0.17 255.98
Names
—
Lists

Codes

FormatValue
HEX#166ccf
RGBrgb(22 108 207)
HSLhsl(212.11 80.79% 44.9%)
OKLCHoklch(0.54 0.17 255.98)
CMYKcmyk(89.37% 47.83% 0% 18.82%)
Android#ff166ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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