Skip to content
Vectorlight.net

#2b24cc

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

HEX
#2b24cc
RGB
43, 36, 204
HSL
242.5°, 70%, 47.06%
OKLCH
0.42 0.24 271.09
Names
—
Lists

Codes

FormatValue
HEX#2b24cc
RGBrgb(43 36 204)
HSLhsl(242.5 70% 47.06%)
OKLCHoklch(0.42 0.24 271.09)
CMYKcmyk(78.92% 82.35% 0% 20%)
Android#ff2b24cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.42: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="#2b24cc"
Gradient stop
<stop stop-color="#2b24cc"/>
CSS variable + fill
:root { --c: #2b24cc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #2b24cc;
background-color: #2b24cc;
bg-[#2b24cc]