Skip to content
Vectorlight.net

#336eab

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

HEX
#336eab
RGB
51, 110, 171
HSL
210.5°, 54.05%, 43.53%
OKLCH
0.53 0.11 251.52
Names
—
Lists

Codes

FormatValue
HEX#336eab
RGBrgb(51 110 171)
HSLhsl(210.5 54.05% 43.53%)
OKLCHoklch(0.53 0.11 251.52)
CMYKcmyk(70.18% 35.67% 0% 32.94%)
Android#ff336eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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