Skip to content
Vectorlight.net

#317eaa

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

HEX
#317eaa
RGB
49, 126, 170
HSL
201.82°, 55.25%, 42.94%
OKLCH
0.57 0.1 237.56
Names
—
Lists

Codes

FormatValue
HEX#317eaa
RGBrgb(49 126 170)
HSLhsl(201.82 55.25% 42.94%)
OKLCHoklch(0.57 0.1 237.56)
CMYKcmyk(71.18% 25.88% 0% 33.33%)
Android#ff317eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #317eaa;
background-color: #317eaa;
bg-[#317eaa]