Skip to content
Kolorvia
#3172a7

Color #3172a7

A moderately saturated medium blue.

Conversions

HEX
#3172a7
RGB
rgb(49, 114, 167)
HSL
hsl(206.9, 54.6%, 42.4%)
HSV / HSB
hsv(206.9, 70.7%, 65.5%)
CMYK
cmyk(70.7%, 31.7%, 0%, 34.5%)
LAB
lab(46.28, -2.79, -34.4)
LCH
lch(46.28, 34.51, 265.36)
OKLCH
oklch(53.5%, 0.1064, 246.28)
HWB
hwb(206.9, 19.2%, 34.5%)

Harmony colors

Complementary

#a76631

Analogous

#31a7a1
#3172a7
#3137a7

Triadic

#3172a7
#a73172
#72a731

Split-complementary

#3172a7
#a73137
#a7a131

Tetradic

#3172a7
#6631a7
#a76631
#72a731

Square

#3172a7
#a131a7
#a76631
#37a731

Shades

Color #3172a7 mixed toward black.

#295f8b
#214c6f
#193954
#102638
#08131c

Tints

Color #3172a7 mixed toward white.

#428cc7
#68a3d3
#8dbade
#b3d1e9
#d9e8f4

Tones

Color #3172a7 mixed toward gray.

#3b719d
#457093
#4f6f8a
#586e80
#626d76

Accessibility

Aa White text on this color
5.13:1
Aa Black text on this color
4.1:1

White text reads better on this background (5.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#55559c · ΔE 15.5

Deuteranopia

#514c9a · ΔE 17.6

Tritanopia

#379391 · ΔE 23.3

Achromatopsia

#6e6e6e · ΔE 19.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #3172a7;
Tailwind (arbitrary value)
bg-[#3172a7]

Related colors

Steel Blue #4682b4
Alice Blue #f0f8ff
Dodger Blue #1e90ff
Charcoal #36454f
Light Slate Gray #778899
Slate Gray #708090

Frequently asked questions

#3172a7 (#3172a7) is rgb(49, 114, 167) in RGB.

No, #3172a7 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #3172a7, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.