Skip to content
Vectorlight.net

#24338a

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

HEX
#24338a
RGB
36, 51, 138
HSL
231.18°, 58.62%, 34.12%
OKLCH
0.37 0.15 270.08
Names
—
Lists

Codes

FormatValue
HEX#24338a
RGBrgb(36 51 138)
HSLhsl(231.18 58.62% 34.12%)
OKLCHoklch(0.37 0.15 270.08)
CMYKcmyk(73.91% 63.04% 0% 45.88%)
Android#ff24338a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #24338a;
background-color: #24338a;
bg-[#24338a]