Skip to content
Vectorlight.net

#3540dd

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

HEX
#3540dd
RGB
53, 64, 221
HSL
236.07°, 71.19%, 53.73%
OKLCH
0.48 0.23 270.73
Names
—
Lists

Codes

FormatValue
HEX#3540dd
RGBrgb(53 64 221)
HSLhsl(236.07 71.19% 53.73%)
OKLCHoklch(0.48 0.23 270.73)
CMYKcmyk(76.02% 71.04% 0% 13.33%)
Android#ff3540dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3540dd;
background-color: #3540dd;
bg-[#3540dd]