Skip to content
Vectorlight.net

#337d8a

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

HEX
#337d8a
RGB
51, 125, 138
HSL
188.97°, 46.03%, 37.06%
OKLCH
0.55 0.07 210.93
Names
—
Lists

Codes

FormatValue
HEX#337d8a
RGBrgb(51 125 138)
HSLhsl(188.97 46.03% 37.06%)
OKLCHoklch(0.55 0.07 210.93)
CMYKcmyk(63.04% 9.42% 0% 45.88%)
Android#ff337d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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