Skip to content
Vectorlight.net

#335bca

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

HEX
#335bca
RGB
51, 91, 202
HSL
224.11°, 59.68%, 49.61%
OKLCH
0.51 0.18 265.43
Names
—
Lists

Codes

FormatValue
HEX#335bca
RGBrgb(51 91 202)
HSLhsl(224.11 59.68% 49.61%)
OKLCHoklch(0.51 0.18 265.43)
CMYKcmyk(74.75% 54.95% 0% 20.78%)
Android#ff335bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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