Skip to content
Vectorlight.net

#336afd

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

HEX
#336afd
RGB
51, 106, 253
HSL
223.66°, 98.06%, 59.61%
OKLCH
0.58 0.23 264.56
Names
—
Lists

Codes

FormatValue
HEX#336afd
RGBrgb(51 106 253)
HSLhsl(223.66 98.06% 59.61%)
OKLCHoklch(0.58 0.23 264.56)
CMYKcmyk(79.84% 58.1% 0% 0.78%)
Android#ff336afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#336afd"
Gradient stop
<stop stop-color="#336afd"/>
CSS variable + fill
:root { --c: #336afd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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