Skip to content
Vectorlight.net

#166b9e

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

HEX
#166b9e
RGB
22, 107, 158
HSL
202.5°, 75.56%, 35.29%
OKLCH
0.51 0.11 241.69
Names
—
Lists

Codes

FormatValue
HEX#166b9e
RGBrgb(22 107 158)
HSLhsl(202.5 75.56% 35.29%)
OKLCHoklch(0.51 0.11 241.69)
CMYKcmyk(86.08% 32.28% 0% 38.04%)
Android#ff166b9e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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