Skip to content
Vectorlight.net

#345ecb

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

HEX
#345ecb
RGB
52, 94, 203
HSL
223.31°, 59.22%, 50%
OKLCH
0.52 0.18 264.91
Names
—
Lists

Codes

FormatValue
HEX#345ecb
RGBrgb(52 94 203)
HSLhsl(223.31 59.22% 50%)
OKLCHoklch(0.52 0.18 264.91)
CMYKcmyk(74.38% 53.69% 0% 20.39%)
Android#ff345ecb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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