Skip to content
Vectorlight.net

#42bafd

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

HEX
#42bafd
RGB
66, 186, 253
HSL
201.5°, 97.91%, 62.55%
OKLCH
0.75 0.14 237.8
Names
—
Lists

Codes

FormatValue
HEX#42bafd
RGBrgb(66 186 253)
HSLhsl(201.5 97.91% 62.55%)
OKLCHoklch(0.75 0.14 237.8)
CMYKcmyk(73.91% 26.48% 0% 0.78%)
Android#ff42bafd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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