Skip to content
Vectorlight.net

#242550

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

HEX
#242550
RGB
36, 37, 80
HSL
238.64°, 37.93%, 22.75%
OKLCH
0.29 0.08 279.42
Names
—
Lists

Codes

FormatValue
HEX#242550
RGBrgb(36 37 80)
HSLhsl(238.64 37.93% 22.75%)
OKLCHoklch(0.29 0.08 279.42)
CMYKcmyk(55% 53.75% 0% 68.63%)
Android#ff242550

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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