Skip to content
Vectorlight.net

#40596e

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

HEX
#40596e
RGB
64, 89, 110
HSL
207.39°, 26.44%, 34.12%
OKLCH
0.45 0.05 244.4
Names
—
Lists

Codes

FormatValue
HEX#40596e
RGBrgb(64 89 110)
HSLhsl(207.39 26.44% 34.12%)
OKLCHoklch(0.45 0.05 244.4)
CMYKcmyk(41.82% 19.09% 0% 56.86%)
Android#ff40596e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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