Skip to content
Kolorvia
#171e51

Color #171e51

A moderately saturated dark blue.

Conversions

HEX
#171e51
RGB
rgb(23, 30, 81)
HSL
hsl(232.8, 55.8%, 20.4%)
HSV / HSB
hsv(232.8, 71.6%, 31.8%)
CMYK
cmyk(71.6%, 63%, 0%, 68.2%)
LAB
lab(13.85, 15.99, -32.26)
LCH
lch(13.85, 36.01, 296.37)
OKLCH
oklch(26.4%, 0.0929, 272.41)
HWB
hwb(232.8, 9%, 68.2%)

Harmony colors

Complementary

#514a17

Analogous

#173b51
#171e51
#2d1751

Triadic

#171e51
#51171e
#1e5117

Split-complementary

#171e51
#512d17
#3b5117

Tetradic

#171e51
#4a1751
#514a17
#1e5117

Square

#171e51
#51173b
#514a17
#17512d

Shades

Color #171e51 mixed toward black.

#131944
#0f1436
#0b0f29
#080a1b
#04050e

Tints

Color #171e51 mixed toward white.

#263186
#3545ba
#616ed2
#969fe1
#cacff0

Tones

Color #171e51 mixed toward gray.

#1c224c
#212547
#262943
#2a2d3e
#2f3039

Accessibility

Aa White text on this color
15.66:1
Aa Black text on this color
1.34:1

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

Under color vision deficiencies

Protanopia

#1a1a48 · ΔE 2.4

Deuteranopia

#1a1946 · ΔE 2.8

Tritanopia

#17413f · ΔE 26.5

Achromatopsia

#232323 · ΔE 20.7

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

Code

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

Related colors

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

Frequently asked questions

#171e51 (#171e51) is rgb(23, 30, 81) in RGB.

No, #171e51 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 #171e51, 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.