Skip to content
Vectorlight.net

#166cb5

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

HEX
#166cb5
RGB
22, 108, 181
HSL
207.55°, 78.33%, 39.8%
OKLCH
0.52 0.14 250.13
Names
—
Lists

Codes

FormatValue
HEX#166cb5
RGBrgb(22 108 181)
HSLhsl(207.55 78.33% 39.8%)
OKLCHoklch(0.52 0.14 250.13)
CMYKcmyk(87.85% 40.33% 0% 29.02%)
Android#ff166cb5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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