Skip to content
Vectorlight.net

#341fad

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

HEX
#341fad
RGB
52, 31, 173
HSL
248.87°, 69.61%, 40%
OKLCH
0.38 0.21 277.17
Names
—
Lists

Codes

FormatValue
HEX#341fad
RGBrgb(52 31 173)
HSLhsl(248.87 69.61% 40%)
OKLCHoklch(0.38 0.21 277.17)
CMYKcmyk(69.94% 82.08% 0% 32.16%)
Android#ff341fad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #341fad;
background-color: #341fad;
bg-[#341fad]