#172855 color

#172855 rgb(23, 40, 85)
Shades of blue

The hex color #172855 is a dark, moderate blue.

In the RGB color model it is made of 9% red, 15.7% green and 33.3% blue (23, 40, 85).

Its hue angle is 224°, with 57% saturation and 21% lightness. For print, the CMYK equivalent is 73% cyan, 53% magenta, 0% yellow and 67% black.

The closest named color is Space Cadet (#1D2951), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.27:1).

#172855 color codes

HEX#172855
RGBrgb(23, 40, 85)
RGB percentrgb(9%, 15.7%, 33.3%)
HSLhsl(224, 57%, 21%)
HSV / HSBhsv(224, 73%, 33%)
CMYKcmyk(73%, 53%, 0%, 67%)
CIE LABlab(17.25, 10.2, -29.47)
CIE LCHlch(17.25, 31.19, 289.08)
CIE XYZxyz(2.751, 2.355, 8.902)
Decimal1517653
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #172855, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #172855RatioAAAAAAA large
Sample text1.47:1FailFailFail
Sample text14.27:1PassPassPass
#172855 as text onRatioAAAAAAA large
Sample text14.27:1PassPassPass
Sample text1.47:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #172855 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #172855; }
.text { color: #172855; }
.border { border: 2px solid #172855; }
.transparent { background-color: rgb(23 40 85 / 50%); }
.gradient { background: linear-gradient(to right, #172855, #251755); }
Background
Text color
Border

Similar colors

Questions

What color is #172855?
#172855 is a dark, moderate blue, closest to the named color Space Cadet. It belongs to the blue family of colors.
What is the RGB value of #172855?
The RGB value is 23, 40, 85: 23 red, 40 green and 85 blue on a 0 to 255 scale.
What is the complementary color of #172855?
The complementary color is #554417, found by rotating the hue 180° on the color wheel.
Is black or white text better on #172855?
White text. Black text has a contrast ratio of 1.47:1 and white text 14.27:1. WCAG asks for at least 4.5:1 for normal text.