Skip to content
Vectorlight.net

#3938cf

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

HEX
#3938cf
RGB
57, 56, 207
HSL
240.4°, 61.13%, 51.57%
OKLCH
0.46 0.22 273.37
Names
—
Lists

Codes

FormatValue
HEX#3938cf
RGBrgb(57 56 207)
HSLhsl(240.4 61.13% 51.57%)
OKLCHoklch(0.46 0.22 273.37)
CMYKcmyk(72.46% 72.95% 0% 18.82%)
Android#ff3938cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3938cf;
background-color: #3938cf;
bg-[#3938cf]