Skip to content
Vectorlight.net

#3945ab

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

HEX
#3945ab
RGB
57, 69, 171
HSL
233.68°, 50%, 44.71%
OKLCH
0.44 0.16 272.79
Names
—
Lists

Codes

FormatValue
HEX#3945ab
RGBrgb(57 69 171)
HSLhsl(233.68 50% 44.71%)
OKLCHoklch(0.44 0.16 272.79)
CMYKcmyk(66.67% 59.65% 0% 32.94%)
Android#ff3945ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3945ab;
background-color: #3945ab;
bg-[#3945ab]