Skip to content
Vectorlight.net

#0220cb

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

HEX
#0220cb
RGB
2, 32, 203
HSL
231.04°, 98.05%, 40.2%
OKLCH
0.4 0.25 264.39
Names
—
Lists

Codes

FormatValue
HEX#0220cb
RGBrgb(2 32 203)
HSLhsl(231.04 98.05% 40.2%)
OKLCHoklch(0.4 0.25 264.39)
CMYKcmyk(99.01% 84.24% 0% 20.39%)
Android#ff0220cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0220cb;
background-color: #0220cb;
bg-[#0220cb]