Skip to content
Vectorlight.net

#345ccf

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

HEX
#345ccf
RGB
52, 92, 207
HSL
224.52°, 61.75%, 50.78%
OKLCH
0.51 0.18 265.68
Names
—
Lists

Codes

FormatValue
HEX#345ccf
RGBrgb(52 92 207)
HSLhsl(224.52 61.75% 50.78%)
OKLCHoklch(0.51 0.18 265.68)
CMYKcmyk(74.88% 55.56% 0% 18.82%)
Android#ff345ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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