Skip to content
Vectorlight.net

#335ddd

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

HEX
#335ddd
RGB
51, 93, 221
HSL
225.18°, 71.43%, 53.33%
OKLCH
0.53 0.2 265.82
Names
—
Lists

Codes

FormatValue
HEX#335ddd
RGBrgb(51 93 221)
HSLhsl(225.18 71.43% 53.33%)
OKLCHoklch(0.53 0.2 265.82)
CMYKcmyk(76.92% 57.92% 0% 13.33%)
Android#ff335ddd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #335ddd;
background-color: #335ddd;
bg-[#335ddd]