Skip to content
Vectorlight.net

#40709c

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

HEX
#40709c
RGB
64, 112, 156
HSL
208.7°, 41.82%, 43.14%
OKLCH
0.53 0.09 247.81
Names
—
Lists

Codes

FormatValue
HEX#40709c
RGBrgb(64 112 156)
HSLhsl(208.7 41.82% 43.14%)
OKLCHoklch(0.53 0.09 247.81)
CMYKcmyk(58.97% 28.21% 0% 38.82%)
Android#ff40709c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40709c;
background-color: #40709c;
bg-[#40709c]