Skip to content
Vectorlight.net

#40233b

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

HEX
#40233b
RGB
64, 35, 59
HSL
310.34°, 29.29%, 19.41%
OKLCH
0.3 0.06 333.45
Names
—
Lists

Codes

FormatValue
HEX#40233b
RGBrgb(64 35 59)
HSLhsl(310.34 29.29% 19.41%)
OKLCHoklch(0.3 0.06 333.45)
CMYKcmyk(0% 45.31% 7.81% 74.9%)
Android#ff40233b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40233b;
background-color: #40233b;
bg-[#40233b]