Skip to content
Vectorlight.net

#024ecf

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

HEX
#024ecf
RGB
2, 78, 207
HSL
217.76°, 98.09%, 40.98%
OKLCH
0.48 0.21 261.47
Names
—
Lists

Codes

FormatValue
HEX#024ecf
RGBrgb(2 78 207)
HSLhsl(217.76 98.09% 40.98%)
OKLCHoklch(0.48 0.21 261.47)
CMYKcmyk(99.03% 62.32% 0% 18.82%)
Android#ff024ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #024ecf;
background-color: #024ecf;
bg-[#024ecf]