#172834 color

#172834 rgb(23, 40, 52)
Shades of black

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

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

Its hue angle is 205°, with 39% saturation and 15% lightness. For print, the CMYK equivalent is 56% cyan, 23% magenta, 0% yellow and 80% black.

The closest named color is Oceanic Noir (#172B36), a difference of 1.8 ΔE, which is barely visible.

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

#172834 color codes

HEX#172834
RGBrgb(23, 40, 52)
RGB percentrgb(9%, 15.7%, 20.4%)
HSLhsl(205, 39%, 15%)
HSV / HSBhsv(205, 56%, 20%)
CMYKcmyk(56%, 23%, 0%, 80%)
CIE LABlab(15.21, -2.96, -9.98)
CIE LCHlch(15.21, 10.41, 253.51)
CIE XYZxyz(1.732, 1.948, 3.533)
Decimal1517620
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Gunmetal.

Questions

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