Skip to content
Vectorlight.net

#40775b

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

HEX
#40775b
RGB
64, 119, 91
HSL
149.45°, 30.05%, 35.88%
OKLCH
0.52 0.07 160.14
Names
—
Lists

Codes

FormatValue
HEX#40775b
RGBrgb(64 119 91)
HSLhsl(149.45 30.05% 35.88%)
OKLCHoklch(0.52 0.07 160.14)
CMYKcmyk(46.22% 0% 23.53% 53.33%)
Android#ff40775b

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

Recolor an SVG with this color

CSS

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