Skip to content
Vectorlight.net

#0174cc

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

HEX
#0174cc
RGB
1, 116, 204
HSL
206.01°, 99.02%, 40.2%
OKLCH
0.55 0.16 251.08
Names
—
Lists

Codes

FormatValue
HEX#0174cc
RGBrgb(1 116 204)
HSLhsl(206.01 99.02% 40.2%)
OKLCHoklch(0.55 0.16 251.08)
CMYKcmyk(99.51% 43.14% 0% 20%)
Android#ff0174cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0174cc;
background-color: #0174cc;
bg-[#0174cc]