Skip to content
Vectorlight.net

#40a6da

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

HEX
#40a6da
RGB
64, 166, 218
HSL
200.26°, 67.54%, 55.29%
OKLCH
0.69 0.12 234.76
Names
—
Lists

Codes

FormatValue
HEX#40a6da
RGBrgb(64 166 218)
HSLhsl(200.26 67.54% 55.29%)
OKLCHoklch(0.69 0.12 234.76)
CMYKcmyk(70.64% 23.85% 0% 14.51%)
Android#ff40a6da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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