Skip to content
Vectorlight.net

#3170bd

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

HEX
#3170bd
RGB
49, 112, 189
HSL
213°, 58.82%, 46.67%
OKLCH
0.54 0.14 255.15
Names
—
Lists

Codes

FormatValue
HEX#3170bd
RGBrgb(49 112 189)
HSLhsl(213 58.82% 46.67%)
OKLCHoklch(0.54 0.14 255.15)
CMYKcmyk(74.07% 40.74% 0% 25.88%)
Android#ff3170bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3170bd;
background-color: #3170bd;
bg-[#3170bd]