Skip to content
Vectorlight.net

#42576f

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

HEX
#42576f
RGB
66, 87, 111
HSL
212°, 25.42%, 34.71%
OKLCH
0.45 0.05 252.19
Names
—
Lists

Codes

FormatValue
HEX#42576f
RGBrgb(66 87 111)
HSLhsl(212 25.42% 34.71%)
OKLCHoklch(0.45 0.05 252.19)
CMYKcmyk(40.54% 21.62% 0% 56.47%)
Android#ff42576f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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