Skip to content
Vectorlight.net

#337bac

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

HEX
#337bac
RGB
51, 123, 172
HSL
204.3°, 54.26%, 43.73%
OKLCH
0.56 0.1 241.86
Names
—
Lists

Codes

FormatValue
HEX#337bac
RGBrgb(51 123 172)
HSLhsl(204.3 54.26% 43.73%)
OKLCHoklch(0.56 0.1 241.86)
CMYKcmyk(70.35% 28.49% 0% 32.55%)
Android#ff337bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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