Skip to content
Vectorlight.net

#345eaa

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

HEX
#345eaa
RGB
52, 94, 170
HSL
218.64°, 53.15%, 43.53%
OKLCH
0.49 0.13 261.2
Names
—
Lists

Codes

FormatValue
HEX#345eaa
RGBrgb(52 94 170)
HSLhsl(218.64 53.15% 43.53%)
OKLCHoklch(0.49 0.13 261.2)
CMYKcmyk(69.41% 44.71% 0% 33.33%)
Android#ff345eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #345eaa;
background-color: #345eaa;
bg-[#345eaa]