Skip to content
Vectorlight.net

#0166bc

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

HEX
#0166bc
RGB
1, 102, 188
HSL
207.59°, 98.94%, 37.06%
OKLCH
0.51 0.16 252.9
Names
—
Lists

Codes

FormatValue
HEX#0166bc
RGBrgb(1 102 188)
HSLhsl(207.59 98.94% 37.06%)
OKLCHoklch(0.51 0.16 252.9)
CMYKcmyk(99.47% 45.74% 0% 26.27%)
Android#ff0166bc

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.62: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="#0166bc"
Gradient stop
<stop stop-color="#0166bc"/>
CSS variable + fill
:root { --c: #0166bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0166bc;
background-color: #0166bc;
bg-[#0166bc]