#172857 color
The hex color #172857 is a dark, moderate blue.
In the RGB color model it is made of 9% red, 15.7% green and 34.1% blue (23, 40, 87).
Its hue angle is 224°, with 58% saturation and 22% lightness. For print, the CMYK equivalent is 74% cyan, 54% magenta, 0% yellow and 66% black.
The closest named color is Fibonacci Blue (#112358), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.21:1).
#172857 color codes
| HEX | #172857 | |
|---|---|---|
| RGB | rgb(23, 40, 87) | |
| RGB percent | rgb(9%, 15.7%, 34.1%) | |
| HSL | hsl(224, 58%, 22%) | |
| HSV / HSB | hsv(224, 74%, 34%) | |
| CMYK | cmyk(74%, 54%, 0%, 66%) | |
| CIE LAB | lab(17.4, 11.03, -30.57) | |
| CIE LCH | lch(17.4, 32.5, 289.84) | |
| CIE XYZ | xyz(2.832, 2.388, 9.327) | |
| Decimal | 1517655 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172857, 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 #172857 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.21:1 | Pass | Pass | Pass |
| #172857 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.21:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #172857 looks to people with the most common types of color vision deficiency.
#0d2e59Protanopia
no red cones#002856Deuteranopia
no green cones#00333bTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #172857; }
.text { color: #172857; }
.border { border: 2px solid #172857; }
.transparent { background-color: rgb(23 40 87 / 50%); }
.gradient { background: linear-gradient(to right, #172857, #261757); }
Similar colors
#112358Fibonacci Blue#1d2951Space Cadet#112255Dark Soul#1c2e63Mythical Night#012253Subnautical#052462Black Sea Night#082567Dark Sapphire#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #172857?
- #172857 is a dark, moderate blue, closest to the named color Fibonacci Blue. It belongs to the blue family of colors.
- What is the RGB value of #172857?
- The RGB value is 23, 40, 87: 23 red, 40 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #172857?
- The complementary color is #574617, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172857?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.21:1. WCAG asks for at least 4.5:1 for normal text.