Skip to content
Vectorlight.net

#40423f

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

HEX
#40423f
RGB
64, 66, 63
HSL
100°, 2.33%, 25.29%
OKLCH
0.38 0.01 134.9
Names
—
Lists

Codes

FormatValue
HEX#40423f
RGBrgb(64 66 63)
HSLhsl(100 2.33% 25.29%)
OKLCHoklch(0.38 0.01 134.9)
CMYKcmyk(3.03% 0% 4.55% 74.12%)
Android#ff40423f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40423f;
background-color: #40423f;
bg-[#40423f]