#172E5A color
The hex color #172E5A is a dark, moderate azure.
In the RGB color model it is made of 9% red, 18% green and 35.3% blue (23, 46, 90).
Its hue angle is 219°, with 59% saturation and 22% lightness. For print, the CMYK equivalent is 74% cyan, 49% magenta, 0% yellow and 65% black.
The closest named color is Mythical Night (#1C2E63), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.33:1).
#172E5A color codes
| HEX | #172E5A | |
|---|---|---|
| RGB | rgb(23, 46, 90) | |
| RGB percent | rgb(9%, 18%, 35.3%) | |
| HSL | hsl(219, 59%, 22%) | |
| HSV / HSB | hsv(219, 74%, 35%) | |
| CMYK | cmyk(74%, 49%, 0%, 65%) | |
| CIE LAB | lab(19.53, 7.88, -29.15) | |
| CIE LCH | lch(19.53, 30.19, 285.12) | |
| CIE XYZ | xyz(3.175, 2.874, 10.058) | |
| Decimal | 1519194 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172E5A, 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 #172E5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.33:1 | Pass | Pass | Pass |
| #172E5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.33:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #172E5A looks to people with the most common types of color vision deficiency.
#18335cProtanopia
no red cones#0b2c59Deuteranopia
no green cones#00383fTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #172e5a; }
.text { color: #172e5a; }
.border { border: 2px solid #172e5a; }
.transparent { background-color: rgb(23 46 90 / 50%); }
.gradient { background: linear-gradient(to right, #172e5a, #22175a); }
Similar colors
#1c2e63Mythical Night#042e60Marine#1d2951Space Cadet#13336fAtlantic Navy#0f2d4dMidnight Ocean#003368Neptune’s Dream#012253Subnautical#112358Fibonacci Blue
Closest common color name: Oxford Blue.
Questions
- What color is #172E5A?
- #172E5A is a dark, moderate azure, closest to the named color Mythical Night. It belongs to the blue family of colors.
- What is the RGB value of #172E5A?
- The RGB value is 23, 46, 90: 23 red, 46 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #172E5A?
- The complementary color is #5A4317, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172E5A?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.33:1. WCAG asks for at least 4.5:1 for normal text.