Skip to content
Vectorlight.net

#3a287d

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

HEX
#3a287d
RGB
58, 40, 125
HSL
252.71°, 51.52%, 32.35%
OKLCH
0.35 0.14 286.89
Names
—
Lists

Codes

FormatValue
HEX#3a287d
RGBrgb(58 40 125)
HSLhsl(252.71 51.52% 32.35%)
OKLCHoklch(0.35 0.14 286.89)
CMYKcmyk(53.6% 68% 0% 50.98%)
Android#ff3a287d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3a287d;
background-color: #3a287d;
bg-[#3a287d]