Skip to content
Vectorlight.net

#3172ca

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

HEX
#3172ca
RGB
49, 114, 202
HSL
214.51°, 60.96%, 49.22%
OKLCH
0.56 0.15 257.02
Names
—
Lists

Codes

FormatValue
HEX#3172ca
RGBrgb(49 114 202)
HSLhsl(214.51 60.96% 49.22%)
OKLCHoklch(0.56 0.15 257.02)
CMYKcmyk(75.74% 43.56% 0% 20.78%)
Android#ff3172ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3172ca;
background-color: #3172ca;
bg-[#3172ca]