Skip to content
Vectorlight.net

#166cff

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

HEX
#166cff
RGB
22, 108, 255
HSL
217.85°, 100%, 54.31%
OKLCH
0.58 0.23 261.02
Names
—
Lists

Codes

FormatValue
HEX#166cff
RGBrgb(22 108 255)
HSLhsl(217.85 100% 54.31%)
OKLCHoklch(0.58 0.23 261.02)
CMYKcmyk(91.37% 57.65% 0% 0%)
Android#ff166cff

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#166cff"
Gradient stop
<stop stop-color="#166cff"/>
CSS variable + fill
:root { --c: #166cff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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