Skip to content
Vectorlight.net

#02284e

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

HEX
#02284e
RGB
2, 40, 78
HSL
210°, 95%, 15.69%
OKLCH
0.28 0.08 252.68
Names
—
Lists

Codes

FormatValue
HEX#02284e
RGBrgb(2 40 78)
HSLhsl(210 95% 15.69%)
OKLCHoklch(0.28 0.08 252.68)
CMYKcmyk(97.44% 48.72% 0% 69.41%)
Android#ff02284e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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