Skip to content
Vectorlight.net

#42897d

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

HEX
#42897d
RGB
66, 137, 125
HSL
169.86°, 34.98%, 39.8%
OKLCH
0.58 0.07 181.13
Names
—
Lists

Codes

FormatValue
HEX#42897d
RGBrgb(66 137 125)
HSLhsl(169.86 34.98% 39.8%)
OKLCHoklch(0.58 0.07 181.13)
CMYKcmyk(51.82% 0% 8.76% 46.27%)
Android#ff42897d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.10:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#42897d"
Gradient stop
<stop stop-color="#42897d"/>
CSS variable + fill
:root { --c: #42897d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #42897d;
background-color: #42897d;
bg-[#42897d]