Skip to content
Vectorlight.net

#166387

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

HEX
#166387
RGB
22, 99, 135
HSL
199.12°, 71.97%, 30.78%
OKLCH
0.47 0.09 234.6
Names
—
Lists

Codes

FormatValue
HEX#166387
RGBrgb(22 99 135)
HSLhsl(199.12 71.97% 30.78%)
OKLCHoklch(0.47 0.09 234.6)
CMYKcmyk(83.7% 26.67% 0% 47.06%)
Android#ff166387

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #166387;
background-color: #166387;
bg-[#166387]