Skip to content
Vectorlight.net

#24397f

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

HEX
#24397f
RGB
36, 57, 127
HSL
226.15°, 55.83%, 31.96%
OKLCH
0.37 0.12 267.54
Names
—
Lists

Codes

FormatValue
HEX#24397f
RGBrgb(36 57 127)
HSLhsl(226.15 55.83% 31.96%)
OKLCHoklch(0.37 0.12 267.54)
CMYKcmyk(71.65% 55.12% 0% 50.2%)
Android#ff24397f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #24397f;
background-color: #24397f;
bg-[#24397f]