Skip to content
Vectorlight.net

#40a2bd

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

HEX
#40a2bd
RGB
64, 162, 189
HSL
192.96°, 49.41%, 49.61%
OKLCH
0.67 0.1 219.34
Names
—
Lists

Codes

FormatValue
HEX#40a2bd
RGBrgb(64 162 189)
HSLhsl(192.96 49.41% 49.61%)
OKLCHoklch(0.67 0.1 219.34)
CMYKcmyk(66.14% 14.29% 0% 25.88%)
Android#ff40a2bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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