Skip to content
Vectorlight.net

#242545

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

HEX
#242545
RGB
36, 37, 69
HSL
238.18°, 31.43%, 20.59%
OKLCH
0.28 0.06 280.59
Names
—
Lists

Codes

FormatValue
HEX#242545
RGBrgb(36 37 69)
HSLhsl(238.18 31.43% 20.59%)
OKLCHoklch(0.28 0.06 280.59)
CMYKcmyk(47.83% 46.38% 0% 72.94%)
Android#ff242545

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #242545;
background-color: #242545;
bg-[#242545]