Skip to content
Vectorlight.net

#42a3cb

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

HEX
#42a3cb
RGB
66, 163, 203
HSL
197.52°, 56.85%, 52.75%
OKLCH
0.67 0.11 228.81
Names
—
Lists

Codes

FormatValue
HEX#42a3cb
RGBrgb(66 163 203)
HSLhsl(197.52 56.85% 52.75%)
OKLCHoklch(0.67 0.11 228.81)
CMYKcmyk(67.49% 19.7% 0% 20.39%)
Android#ff42a3cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42a3cb;
background-color: #42a3cb;
bg-[#42a3cb]