Skip to content
Vectorlight.net

#020074

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

HEX
#020074
RGB
2, 0, 116
HSL
241.03°, 100%, 22.75%
OKLCH
0.25 0.17 264.8
Names
—
Lists

Codes

FormatValue
HEX#020074
RGBrgb(2 0 116)
HSLhsl(241.03 100% 22.75%)
OKLCHoklch(0.25 0.17 264.8)
CMYKcmyk(98.28% 100% 0% 54.51%)
Android#ff020074

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #020074;
background-color: #020074;
bg-[#020074]