Skip to content
Vectorlight.net

#3918cc

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

HEX
#3918cc
RGB
57, 24, 204
HSL
251°, 78.95%, 44.71%
OKLCH
0.42 0.24 275.92
Names
—
Lists

Codes

FormatValue
HEX#3918cc
RGBrgb(57 24 204)
HSLhsl(251 78.95% 44.71%)
OKLCHoklch(0.42 0.24 275.92)
CMYKcmyk(72.06% 88.24% 0% 20%)
Android#ff3918cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3918cc;
background-color: #3918cc;
bg-[#3918cc]