#172246 color
The hex color #172246 is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 13.3% green and 27.5% blue (23, 34, 70).
Its hue angle is 226°, with 51% saturation and 18% lightness. For print, the CMYK equivalent is 67% cyan, 51% magenta, 0% yellow and 73% black.
The closest named color is Dark Eclipse (#112244), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.51:1).
#172246 color codes
| HEX | #172246 | |
|---|---|---|
| RGB | rgb(23, 34, 70) | |
| RGB percent | rgb(9%, 13.3%, 27.5%) | |
| HSL | hsl(226, 51%, 18%) | |
| HSV / HSB | hsv(226, 67%, 27%) | |
| CMYK | cmyk(67%, 51%, 0%, 73%) | |
| CIE LAB | lab(14.22, 8.47, -24.12) | |
| CIE LCH | lch(14.22, 25.56, 289.36) | |
| CIE XYZ | xyz(2.03, 1.768, 6.027) | |
| Decimal | 1516102 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172246, 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 #172246 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.51:1 | Pass | Pass | Pass |
| #172246 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.51:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #172246 looks to people with the most common types of color vision deficiency.
#112647Protanopia
no red cones#0a2245Deuteranopia
no green cones#002a30Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #172246; }
.text { color: #172246; }
.border { border: 2px solid #172246; }
.transparent { background-color: rgb(23 34 70 / 50%); }
.gradient { background: linear-gradient(to right, #172246, #241746); }
Similar colors
#112244Dark Eclipse#1d2951Space Cadet#161d3bNightwalker#222244Black Market#1c1e4dFly-by-Night#112255Dark Soul#002147Oxford Blue#112358Fibonacci Blue
Questions
- What color is #172246?
- #172246 is a very dark, moderate blue, closest to the named color Dark Eclipse. It belongs to the blue family of colors.
- What is the RGB value of #172246?
- The RGB value is 23, 34, 70: 23 red, 34 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #172246?
- The complementary color is #463B17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172246?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.51:1. WCAG asks for at least 4.5:1 for normal text.