Skip to content
Vectorlight.net

#166cba

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

HEX
#166cba
RGB
22, 108, 186
HSL
208.54°, 78.85%, 40.78%
OKLCH
0.53 0.14 251.54
Names
—
Lists

Codes

FormatValue
HEX#166cba
RGBrgb(22 108 186)
HSLhsl(208.54 78.85% 40.78%)
OKLCHoklch(0.53 0.14 251.54)
CMYKcmyk(88.17% 41.94% 0% 27.06%)
Android#ff166cba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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