Skip to content
Vectorlight.net

#40536a

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

HEX
#40536a
RGB
64, 83, 106
HSL
212.86°, 24.71%, 33.33%
OKLCH
0.44 0.04 253.54
Names
—
Lists

Codes

FormatValue
HEX#40536a
RGBrgb(64 83 106)
HSLhsl(212.86 24.71% 33.33%)
OKLCHoklch(0.44 0.04 253.54)
CMYKcmyk(39.62% 21.7% 0% 58.43%)
Android#ff40536a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.66:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#40536a"
Gradient stop
<stop stop-color="#40536a"/>
CSS variable + fill
:root { --c: #40536a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #40536a;
background-color: #40536a;
bg-[#40536a]