Skip to content
Vectorlight.net

#40775d

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

HEX
#40775d
RGB
64, 119, 93
HSL
151.64°, 30.05%, 35.88%
OKLCH
0.52 0.07 161.97
Names
—
Lists

Codes

FormatValue
HEX#40775d
RGBrgb(64 119 93)
HSLhsl(151.64 30.05% 35.88%)
OKLCHoklch(0.52 0.07 161.97)
CMYKcmyk(46.22% 0% 21.85% 53.33%)
Android#ff40775d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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