Skip to content
Vectorlight.net

#42acfc

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

HEX
#42acfc
RGB
66, 172, 252
HSL
205.81°, 96.88%, 62.35%
OKLCH
0.72 0.15 245.21
Names
—
Lists

Codes

FormatValue
HEX#42acfc
RGBrgb(66 172 252)
HSLhsl(205.81 96.88% 62.35%)
OKLCHoklch(0.72 0.15 245.21)
CMYKcmyk(73.81% 31.75% 0% 1.18%)
Android#ff42acfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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