Skip to content
Vectorlight.net

#42baef

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

HEX
#42baef
RGB
66, 186, 239
HSL
198.38°, 84.39%, 59.8%
OKLCH
0.74 0.13 231.5
Names
—
Lists

Codes

FormatValue
HEX#42baef
RGBrgb(66 186 239)
HSLhsl(198.38 84.39% 59.8%)
OKLCHoklch(0.74 0.13 231.5)
CMYKcmyk(72.38% 22.18% 0% 6.27%)
Android#ff42baef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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