Skip to content
Vectorlight.net

#0170bc

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

HEX
#0170bc
RGB
1, 112, 188
HSL
204.39°, 98.94%, 37.06%
OKLCH
0.53 0.15 248.59
Names
—
Lists

Codes

FormatValue
HEX#0170bc
RGBrgb(1 112 188)
HSLhsl(204.39 98.94% 37.06%)
OKLCHoklch(0.53 0.15 248.59)
CMYKcmyk(99.47% 40.43% 0% 26.27%)
Android#ff0170bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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