Skip to content
Vectorlight.net

#40596d

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

HEX
#40596d
RGB
64, 89, 109
HSL
206.67°, 26.01%, 33.92%
OKLCH
0.45 0.04 243.07
Names
—
Lists

Codes

FormatValue
HEX#40596d
RGBrgb(64 89 109)
HSLhsl(206.67 26.01% 33.92%)
OKLCHoklch(0.45 0.04 243.07)
CMYKcmyk(41.28% 18.35% 0% 57.25%)
Android#ff40596d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40596d;
background-color: #40596d;
bg-[#40596d]