Skip to content
Vectorlight.net

#40b5eb

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

HEX
#40b5eb
RGB
64, 181, 235
HSL
198.95°, 81.04%, 58.63%
OKLCH
0.73 0.13 232.67
Names
—
Lists

Codes

FormatValue
HEX#40b5eb
RGBrgb(64 181 235)
HSLhsl(198.95 81.04% 58.63%)
OKLCHoklch(0.73 0.13 232.67)
CMYKcmyk(72.77% 22.98% 0% 7.84%)
Android#ff40b5eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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