Skip to content
Vectorlight.net

#336fd1

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

HEX
#336fd1
RGB
51, 111, 209
HSL
217.22°, 63.2%, 50.98%
OKLCH
0.56 0.16 259.79
Names
—
Lists

Codes

FormatValue
HEX#336fd1
RGBrgb(51 111 209)
HSLhsl(217.22 63.2% 50.98%)
OKLCHoklch(0.56 0.16 259.79)
CMYKcmyk(75.6% 46.89% 0% 18.04%)
Android#ff336fd1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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