Skip to content
Vectorlight.net

#42accf

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

HEX
#42accf
RGB
66, 172, 207
HSL
194.89°, 59.49%, 53.53%
OKLCH
0.7 0.11 223.62
Names
—
Lists

Codes

FormatValue
HEX#42accf
RGBrgb(66 172 207)
HSLhsl(194.89 59.49% 53.53%)
OKLCHoklch(0.7 0.11 223.62)
CMYKcmyk(68.12% 16.91% 0% 18.82%)
Android#ff42accf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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