Skip to content
Vectorlight.net

#02095d

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

HEX
#02095d
RGB
2, 9, 93
HSL
235.38°, 95.79%, 18.63%
OKLCH
0.23 0.14 265.24
Names
—
Lists

Codes

FormatValue
HEX#02095d
RGBrgb(2 9 93)
HSLhsl(235.38 95.79% 18.63%)
OKLCHoklch(0.23 0.14 265.24)
CMYKcmyk(97.85% 90.32% 0% 63.53%)
Android#ff02095d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02095d;
background-color: #02095d;
bg-[#02095d]