Skip to content
Vectorlight.net

#166bfe

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

HEX
#166bfe
RGB
22, 107, 254
HSL
218.02°, 99.15%, 54.12%
OKLCH
0.57 0.23 261.12
Names
—
Lists

Codes

FormatValue
HEX#166bfe
RGBrgb(22 107 254)
HSLhsl(218.02 99.15% 54.12%)
OKLCHoklch(0.57 0.23 261.12)
CMYKcmyk(91.34% 57.87% 0% 0.39%)
Android#ff166bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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