Skip to content
Vectorlight.net

#34397c

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

HEX
#34397c
RGB
52, 57, 124
HSL
235.83°, 40.91%, 34.51%
OKLCH
0.38 0.11 276.43
Names
—
Lists

Codes

FormatValue
HEX#34397c
RGBrgb(52 57 124)
HSLhsl(235.83 40.91% 34.51%)
OKLCHoklch(0.38 0.11 276.43)
CMYKcmyk(58.06% 54.03% 0% 51.37%)
Android#ff34397c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #34397c;
background-color: #34397c;
bg-[#34397c]