#172746 color
The hex color #172746 is a very dark, moderate azure.
In the RGB color model it is made of 9% red, 15.3% green and 27.5% blue (23, 39, 70).
Its hue angle is 220°, with 51% saturation and 18% lightness. For print, the CMYK equivalent is 67% cyan, 44% magenta, 0% yellow and 73% black.
The closest named color is Dark Eclipse (#112244), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.84:1).
#172746 color codes
| HEX | #172746 | |
|---|---|---|
| RGB | rgb(23, 39, 70) | |
| RGB percent | rgb(9%, 15.3%, 27.5%) | |
| HSL | hsl(220, 51%, 18%) | |
| HSV / HSB | hsv(220, 67%, 27%) | |
| CMYK | cmyk(67%, 44%, 0%, 73%) | |
| CIE LAB | lab(15.88, 4.75, -21.48) | |
| CIE LCH | lch(15.88, 22, 282.46) | |
| CIE XYZ | xyz(2.184, 2.075, 6.079) | |
| Decimal | 1517382 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172746, 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 #172746 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.84:1 | Pass | Pass | Pass |
| #172746 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.84:1 | Pass | Pass | Pass |
| Sample text | 1.42:1 | Fail | Fail | Fail |
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 #172746 looks to people with the most common types of color vision deficiency.
#1a2a47Protanopia
no red cones#132645Deuteranopia
no green cones#002e33Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #172746; }
.text { color: #172746; }
.border { border: 2px solid #172746; }
.transparent { background-color: rgb(23 39 70 / 50%); }
.gradient { background: linear-gradient(to right, #172746, #1f1746); }
Similar colors
#112244Dark Eclipse#1c2841Eternal Darkness#1d2951Space Cadet#002147Oxford Blue#001f3fMidnight Mirage#0f2d4dMidnight Ocean#011c39Naval Night#161d3bNightwalker
Questions
- What color is #172746?
- #172746 is a very dark, moderate azure, closest to the named color Dark Eclipse. It belongs to the blue family of colors.
- What is the RGB value of #172746?
- The RGB value is 23, 39, 70: 23 red, 39 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #172746?
- The complementary color is #463617, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172746?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.84:1. WCAG asks for at least 4.5:1 for normal text.