Skip to content
Vectorlight.net

#40776a

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

HEX
#40776a
RGB
64, 119, 106
HSL
165.82°, 30.05%, 35.88%
OKLCH
0.53 0.06 176.66
Names
—
Lists

Codes

FormatValue
HEX#40776a
RGBrgb(64 119 106)
HSLhsl(165.82 30.05% 35.88%)
OKLCHoklch(0.53 0.06 176.66)
CMYKcmyk(46.22% 0% 10.92% 53.33%)
Android#ff40776a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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