Skip to content
Vectorlight.net

#166beb

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

HEX
#166beb
RGB
22, 107, 235
HSL
216.06°, 84.19%, 50.39%
OKLCH
0.56 0.21 259.7
Names
—
Lists

Codes

FormatValue
HEX#166beb
RGBrgb(22 107 235)
HSLhsl(216.06 84.19% 50.39%)
OKLCHoklch(0.56 0.21 259.7)
CMYKcmyk(90.64% 54.47% 0% 7.84%)
Android#ff166beb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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