Skip to content
Vectorlight.net

#4008be

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

HEX
#4008be
RGB
64, 8, 190
HSL
258.46°, 91.92%, 38.82%
OKLCH
0.4 0.23 280.91
Names
—
Lists

Codes

FormatValue
HEX#4008be
RGBrgb(64 8 190)
HSLhsl(258.46 91.92% 38.82%)
OKLCHoklch(0.4 0.23 280.91)
CMYKcmyk(66.32% 95.79% 0% 25.49%)
Android#ff4008be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4008be;
background-color: #4008be;
bg-[#4008be]