Skip to content
Vectorlight.net

#345acc

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

HEX
#345acc
RGB
52, 90, 204
HSL
225°, 59.84%, 50.2%
OKLCH
0.51 0.18 266.04
Names
—
Lists

Codes

FormatValue
HEX#345acc
RGBrgb(52 90 204)
HSLhsl(225 59.84% 50.2%)
OKLCHoklch(0.51 0.18 266.04)
CMYKcmyk(74.51% 55.88% 0% 20%)
Android#ff345acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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