Skip to content
Vectorlight.net

#318aaa

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

HEX
#318aaa
RGB
49, 138, 170
HSL
195.87°, 55.25%, 42.94%
OKLCH
0.59 0.1 225.94
Names
—
Lists

Codes

FormatValue
HEX#318aaa
RGBrgb(49 138 170)
HSLhsl(195.87 55.25% 42.94%)
OKLCHoklch(0.59 0.1 225.94)
CMYKcmyk(71.18% 18.82% 0% 33.33%)
Android#ff318aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #318aaa;
background-color: #318aaa;
bg-[#318aaa]