Skip to content
Vectorlight.net

#315e6a

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

HEX
#315e6a
RGB
49, 94, 106
HSL
192.63°, 36.77%, 30.39%
OKLCH
0.45 0.05 217.15
Names
—
Lists

Codes

FormatValue
HEX#315e6a
RGBrgb(49 94 106)
HSLhsl(192.63 36.77% 30.39%)
OKLCHoklch(0.45 0.05 217.15)
CMYKcmyk(53.77% 11.32% 0% 58.43%)
Android#ff315e6a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #315e6a;
background-color: #315e6a;
bg-[#315e6a]