Skip to content
Vectorlight.net

#40c8da

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

HEX
#40c8da
RGB
64, 200, 218
HSL
187.01°, 67.54%, 55.29%
OKLCH
0.77 0.12 207.89
Names
—
Lists

Codes

FormatValue
HEX#40c8da
RGBrgb(64 200 218)
HSLhsl(187.01 67.54% 55.29%)
OKLCHoklch(0.77 0.12 207.89)
CMYKcmyk(70.64% 8.26% 0% 14.51%)
Android#ff40c8da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40c8da;
background-color: #40c8da;
bg-[#40c8da]