Skip to content
Vectorlight.net

#335dca

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

HEX
#335dca
RGB
51, 93, 202
HSL
223.31°, 59.68%, 49.61%
OKLCH
0.51 0.18 264.87
Names
—
Lists

Codes

FormatValue
HEX#335dca
RGBrgb(51 93 202)
HSLhsl(223.31 59.68% 49.61%)
OKLCHoklch(0.51 0.18 264.87)
CMYKcmyk(74.75% 53.96% 0% 20.78%)
Android#ff335dca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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