Skip to content
Vectorlight.net

#42867e

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

HEX
#42867e
RGB
66, 134, 126
HSL
172.94°, 34%, 39.22%
OKLCH
0.57 0.07 185.4
Names
—
Lists

Codes

FormatValue
HEX#42867e
RGBrgb(66 134 126)
HSLhsl(172.94 34% 39.22%)
OKLCHoklch(0.57 0.07 185.4)
CMYKcmyk(50.75% 0% 5.97% 47.45%)
Android#ff42867e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42867e;
background-color: #42867e;
bg-[#42867e]