Skip to content
Vectorlight.net

#40898d

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

HEX
#40898d
RGB
64, 137, 141
HSL
183.12°, 37.56%, 40.2%
OKLCH
0.59 0.07 200.18
Names
—
Lists

Codes

FormatValue
HEX#40898d
RGBrgb(64 137 141)
HSLhsl(183.12 37.56% 40.2%)
OKLCHoklch(0.59 0.07 200.18)
CMYKcmyk(54.61% 2.84% 0% 44.71%)
Android#ff40898d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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