Skip to content
Vectorlight.net

#336eec

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

HEX
#336eec
RGB
51, 110, 236
HSL
220.86°, 82.96%, 56.27%
OKLCH
0.57 0.2 262.83
Names
—
Lists

Codes

FormatValue
HEX#336eec
RGBrgb(51 110 236)
HSLhsl(220.86 82.96% 56.27%)
OKLCHoklch(0.57 0.2 262.83)
CMYKcmyk(78.39% 53.39% 0% 7.45%)
Android#ff336eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #336eec;
background-color: #336eec;
bg-[#336eec]