Skip to content
Vectorlight.net

#40899a

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

HEX
#40899a
RGB
64, 137, 154
HSL
191.33°, 41.28%, 42.75%
OKLCH
0.59 0.08 215.19
Names
—
Lists

Codes

FormatValue
HEX#40899a
RGBrgb(64 137 154)
HSLhsl(191.33 41.28% 42.75%)
OKLCHoklch(0.59 0.08 215.19)
CMYKcmyk(58.44% 11.04% 0% 39.61%)
Android#ff40899a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.99:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.26:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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