Skip to content
Kolorvia
#172172

Color #172172

A moderately saturated dark blue.

Conversions

HEX
#172172
RGB
rgb(23, 33, 114)
HSL
hsl(233.4, 66.4%, 26.9%)
HSV / HSB
hsv(233.4, 79.8%, 44.7%)
CMYK
cmyk(79.8%, 71.1%, 0%, 55.3%)
LAB
lab(17.85, 27.05, -47.59)
LCH
lch(17.85, 54.74, 299.61)
OKLCH
oklch(30.3%, 0.1378, 269.96)
HWB
hwb(233.4, 9%, 55.3%)

Harmony colors

Complementary

#726817

Analogous

#174f72
#172172
#3b1772

Triadic

#172172
#721721
#217217

Split-complementary

#172172
#723b17
#4f7217

Tetradic

#172172
#681772
#726817
#217217

Square

#172172
#72174f
#726817
#17723b

Shades

Color #172172 mixed toward black.

#131c5f
#0f164c
#0c1139
#080b26
#040613

Tints

Color #172172 mixed toward white.

#2130a6
#3042d5
#6472e0
#98a1ea
#cbd0f5

Tones

Color #172172 mixed toward gray.

#1f276b
#262d63
#2e335b
#353954
#3d3f4c

Accessibility

Aa White text on this color
14.03:1
Aa Black text on this color
1.5:1

White text reads better on this background (14.03:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#1c1c65 · ΔE 2.6

Deuteranopia

#1b1a62 · ΔE 3.2

Tritanopia

#185a57 · ΔE 32.1

Achromatopsia

#2c2c2c · ΔE 24.8

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#172172 (#172172) is rgb(23, 33, 114) in RGB.

No, #172172 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #172172, 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.