Skip to content
Vectorlight.net

#40858a

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

HEX
#40858a
RGB
64, 133, 138
HSL
184.05°, 36.63%, 39.61%
OKLCH
0.57 0.07 201.71
Names
—
Lists

Codes

FormatValue
HEX#40858a
RGBrgb(64 133 138)
HSLhsl(184.05 36.63% 39.61%)
OKLCHoklch(0.57 0.07 201.71)
CMYKcmyk(53.62% 3.62% 0% 45.88%)
Android#ff40858a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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