#172039 color

#172039 rgb(23, 32, 57)
Shades of blue

The hex color #172039 is a very dark, desaturated blue.

In the RGB color model it is made of 9% red, 12.5% green and 22.4% blue (23, 32, 57).

Its hue angle is 224°, with 43% saturation and 16% lightness. For print, the CMYK equivalent is 60% cyan, 44% magenta, 0% yellow and 78% black.

The closest named color is Sombre Night (#161E34), a difference of 1.3 ΔE, which is barely visible.

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

#172039 color codes

HEX#172039
RGBrgb(23, 32, 57)
RGB percentrgb(9%, 12.5%, 22.4%)
HSLhsl(224, 43%, 16%)
HSV / HSBhsv(224, 60%, 22%)
CMYKcmyk(60%, 44%, 0%, 78%)
CIE LABlab(12.67, 4.76, -17.47)
CIE LCHlch(12.67, 18.11, 285.25)
CIE XYZxyz(1.608, 1.51, 4.077)
Decimal1515577
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #172039, 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 #172039RatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.13:1PassPassPass
#172039 as text onRatioAAAAAAA large
Sample text16.13:1PassPassPass
Sample text1.3: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 #172039 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #172039; }
.text { color: #172039; }
.border { border: 2px solid #172039; }
.transparent { background-color: rgb(23 32 57 / 50%); }
.gradient { background: linear-gradient(to right, #172039, #1f1739); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #172039?
#172039 is a very dark, desaturated blue, closest to the named color Sombre Night. It belongs to the blue family of colors.
What is the RGB value of #172039?
The RGB value is 23, 32, 57: 23 red, 32 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #172039?
The complementary color is #393017, found by rotating the hue 180° on the color wheel.
Is black or white text better on #172039?
White text. Black text has a contrast ratio of 1.3:1 and white text 16.13:1. WCAG asks for at least 4.5:1 for normal text.