Skip to content
Vectorlight.net

#42657c

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

HEX
#42657c
RGB
66, 101, 124
HSL
203.79°, 30.53%, 37.25%
OKLCH
0.49 0.05 238.18
Names
—
Lists

Codes

FormatValue
HEX#42657c
RGBrgb(66 101 124)
HSLhsl(203.79 30.53% 37.25%)
OKLCHoklch(0.49 0.05 238.18)
CMYKcmyk(46.77% 18.55% 0% 51.37%)
Android#ff42657c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42657c;
background-color: #42657c;
bg-[#42657c]