Skip to content
Vectorlight.net

#40948a

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

HEX
#40948a
RGB
64, 148, 138
HSL
172.86°, 39.62%, 41.57%
OKLCH
0.61 0.08 184.77
Names
—
Lists

Codes

FormatValue
HEX#40948a
RGBrgb(64 148 138)
HSLhsl(172.86 39.62% 41.57%)
OKLCHoklch(0.61 0.08 184.77)
CMYKcmyk(56.76% 0% 6.76% 41.96%)
Android#ff40948a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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