Skip to content
Vectorlight.net

#220eaf

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

HEX
#220eaf
RGB
34, 14, 175
HSL
247.45°, 85.19%, 37.06%
OKLCH
0.36 0.22 271.2
Names
—
Lists

Codes

FormatValue
HEX#220eaf
RGBrgb(34 14 175)
HSLhsl(247.45 85.19% 37.06%)
OKLCHoklch(0.36 0.22 271.2)
CMYKcmyk(80.57% 92% 0% 31.37%)
Android#ff220eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #220eaf;
background-color: #220eaf;
bg-[#220eaf]