#172F67 color
The hex color #172F67 is a dark, moderate blue.
In the RGB color model it is made of 9% red, 18.4% green and 40.4% blue (23, 47, 103).
Its hue angle is 222°, with 63% saturation and 25% lightness. For print, the CMYK equivalent is 78% cyan, 54% magenta, 0% yellow and 60% black.
The closest named color is Mythical Night (#1C2E63), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.81:1).
#172F67 color codes
| HEX | #172F67 | |
|---|---|---|
| RGB | rgb(23, 47, 103) | |
| RGB percent | rgb(9%, 18.4%, 40.4%) | |
| HSL | hsl(222, 63%, 25%) | |
| HSV / HSB | hsv(222, 78%, 40%) | |
| CMYK | cmyk(78%, 54%, 0%, 60%) | |
| CIE LAB | lab(20.8, 12.59, -35.64) | |
| CIE LCH | lch(20.8, 37.8, 289.45) | |
| CIE XYZ | xyz(3.817, 3.194, 13.245) | |
| Decimal | 1519463 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172F67, 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 #172F67 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.81:1 | Pass | Pass | Pass |
| #172F67 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.81:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #172F67 looks to people with the most common types of color vision deficiency.
#0b3669Protanopia
no red cones#002f66Deuteranopia
no green cones#003c46Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #172f67; }
.text { color: #172f67; }
.border { border: 2px solid #172f67; }
.transparent { background-color: rgb(23 47 103 / 50%); }
.gradient { background: linear-gradient(to right, #172f67, #271767); }
Similar colors
#1c2e63Mythical Night#13336fAtlantic Navy#042e60Marine#1c3378Twilight Express#082567Dark Sapphire#003368Neptune’s Dream#052462Black Sea Night#0a2f7cBelow the Surface
Closest common color name: Oxford Blue.
Questions
- What color is #172F67?
- #172F67 is a dark, moderate blue, closest to the named color Mythical Night. It belongs to the blue family of colors.
- What is the RGB value of #172F67?
- The RGB value is 23, 47, 103: 23 red, 47 green and 103 blue on a 0 to 255 scale.
- What is the complementary color of #172F67?
- The complementary color is #674F17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172F67?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.81:1. WCAG asks for at least 4.5:1 for normal text.