Skip to content
Vectorlight.net

#0070cd

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

HEX
#0070cd
RGB
0, 112, 205
HSL
207.22°, 100%, 40.2%
OKLCH
0.54 0.17 252.75
Names
—
Lists

Codes

FormatValue
HEX#0070cd
RGBrgb(0 112 205)
HSLhsl(207.22 100% 40.2%)
OKLCHoklch(0.54 0.17 252.75)
CMYKcmyk(100% 45.37% 0% 19.61%)
Android#ff0070cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0070cd;
background-color: #0070cd;
bg-[#0070cd]