Skip to content
Vectorlight.net

#0170f4

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

HEX
#0170f4
RGB
1, 112, 244
HSL
212.59°, 99.18%, 48.04%
OKLCH
0.57 0.22 258.39
Names
—
Lists

Codes

FormatValue
HEX#0170f4
RGBrgb(1 112 244)
HSLhsl(212.59 99.18% 48.04%)
OKLCHoklch(0.57 0.22 258.39)
CMYKcmyk(99.59% 54.1% 0% 4.31%)
Android#ff0170f4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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