Skip to content
Vectorlight.net

#02109e

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

HEX
#02109e
RGB
2, 16, 158
HSL
234.62°, 97.5%, 31.37%
OKLCH
0.33 0.21 264.56
Names
—
Lists

Codes

FormatValue
HEX#02109e
RGBrgb(2 16 158)
HSLhsl(234.62 97.5% 31.37%)
OKLCHoklch(0.33 0.21 264.56)
CMYKcmyk(98.73% 89.87% 0% 38.04%)
Android#ff02109e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02109e;
background-color: #02109e;
bg-[#02109e]