Skip to content
Kolorvia
#172242

Color #172242

A moderately saturated very dark blue.

Conversions

HEX
#172242
RGB
rgb(23, 34, 66)
HSL
hsl(224.7, 48.3%, 17.5%)
HSV / HSB
hsv(224.7, 65.2%, 25.9%)
CMYK
cmyk(65.2%, 48.5%, 0%, 74.1%)
LAB
lab(13.94, 6.85, -21.79)
LCH
lch(13.94, 22.84, 287.45)
OKLCH
oklch(26.1%, 0.0621, 267.69)
HWB
hwb(224.7, 9%, 74.1%)

Harmony colors

Complementary

#423717

Analogous

#173842
#172242
#221742

Triadic

#172242
#421722
#224217

Split-complementary

#172242
#422217
#384217

Tetradic

#172242
#371742
#423717
#224217

Square

#172242
#421738
#423717
#174222

Shades

Color #172242 mixed toward black.

#131c37
#0f172c
#0c1121
#080b16
#04060b

Tints

Color #172242 mixed toward white.

#293d76
#3b58aa
#637dc9
#97a8db
#cbd4ed

Tones

Color #172242 mixed toward gray.

#1b243f
#1e263b
#222737
#252934
#292b30

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1c1c3c · ΔE 3.9

Deuteranopia

#1c1b3a · ΔE 4.3

Tritanopia

#183735 · ΔE 22.1

Achromatopsia

#232323 · ΔE 15.6

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#172242 (#172242) is rgb(23, 34, 66) in RGB.

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