Skip to content
Vectorlight.net

#02487d

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

HEX
#02487d
RGB
2, 72, 125
HSL
205.85°, 96.85%, 24.9%
OKLCH
0.39 0.11 249.31
Names
—
Lists

Codes

FormatValue
HEX#02487d
RGBrgb(2 72 125)
HSLhsl(205.85 96.85% 24.9%)
OKLCHoklch(0.39 0.11 249.31)
CMYKcmyk(98.4% 42.4% 0% 50.98%)
Android#ff02487d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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