Skip to content
Vectorlight.net

#315dbe

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

HEX
#315dbe
RGB
49, 93, 190
HSL
221.28°, 59%, 46.86%
OKLCH
0.5 0.16 263.39
Names
—
Lists

Codes

FormatValue
HEX#315dbe
RGBrgb(49 93 190)
HSLhsl(221.28 59% 46.86%)
OKLCHoklch(0.5 0.16 263.39)
CMYKcmyk(74.21% 51.05% 0% 25.49%)
Android#ff315dbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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