Skip to content
Vectorlight.net

#337caf

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

HEX
#337caf
RGB
51, 124, 175
HSL
204.68°, 54.87%, 44.31%
OKLCH
0.56 0.11 242.6
Names
—
Lists

Codes

FormatValue
HEX#337caf
RGBrgb(51 124 175)
HSLhsl(204.68 54.87% 44.31%)
OKLCHoklch(0.56 0.11 242.6)
CMYKcmyk(70.86% 29.14% 0% 31.37%)
Android#ff337caf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #337caf;
background-color: #337caf;
bg-[#337caf]