#172640 color

#172640 rgb(23, 38, 64)
Shades of blue

The hex color #172640 is a very dark, desaturated azure.

In the RGB color model it is made of 9% red, 14.9% green and 25.1% blue (23, 38, 64).

Its hue angle is 218°, with 47% saturation and 17% lightness. For print, the CMYK equivalent is 64% cyan, 41% magenta, 0% yellow and 75% black.

The closest named color is Eternal Darkness (#1C2841), a difference of 1.1 ΔE, which is barely visible.

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

#172640 color codes

HEX#172640
RGBrgb(23, 38, 64)
RGB percentrgb(9%, 14.9%, 25.1%)
HSLhsl(218, 47%, 17%)
HSV / HSBhsv(218, 64%, 25%)
CMYKcmyk(64%, 41%, 0%, 75%)
CIE LABlab(15.16, 3.07, -18.46)
CIE LCHlch(15.16, 18.72, 279.44)
CIE XYZxyz(1.972, 1.938, 5.12)
Decimal1517120
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #172640; }
.text { color: #172640; }
.border { border: 2px solid #172640; }
.transparent { background-color: rgb(23 38 64 / 50%); }
.gradient { background: linear-gradient(to right, #172640, #1c1740); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #172640?
#172640 is a very dark, desaturated azure, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
What is the RGB value of #172640?
The RGB value is 23, 38, 64: 23 red, 38 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #172640?
The complementary color is #403117, found by rotating the hue 180° on the color wheel.
Is black or white text better on #172640?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.13:1. WCAG asks for at least 4.5:1 for normal text.