Skip to content
Vectorlight.net

#0470cf

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

HEX
#0470cf
RGB
4, 112, 207
HSL
208.08°, 96.21%, 41.37%
OKLCH
0.55 0.17 253.37
Names
—
Lists

Codes

FormatValue
HEX#0470cf
RGBrgb(4 112 207)
HSLhsl(208.08 96.21% 41.37%)
OKLCHoklch(0.55 0.17 253.37)
CMYKcmyk(98.07% 45.89% 0% 18.82%)
Android#ff0470cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0470cf;
background-color: #0470cf;
bg-[#0470cf]