#171AD8 color
The hex color #171AD8 is a vivid blue.
In the RGB color model it is made of 9% red, 10.2% green and 84.7% blue (23, 26, 216).
Its hue angle is 239°, with 81% saturation and 47% lightness. For print, the CMYK equivalent is 89% cyan, 88% magenta, 0% yellow and 15% black.
The closest named color is Lapis on Neptune (#1F22D2), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.65:1).
#171AD8 color codes
| HEX | #171AD8 | |
|---|---|---|
| RGB | rgb(23, 26, 216) | |
| RGB percent | rgb(9%, 10.2%, 84.7%) | |
| HSL | hsl(239, 81%, 47%) | |
| HSV / HSB | hsv(239, 89%, 85%) | |
| CMYK | cmyk(89%, 88%, 0%, 15%) | |
| CIE LAB | lab(29.1, 63.96, -90.98) | |
| CIE LCH | lch(29.1, 111.22, 305.11) | |
| CIE XYZ | xyz(13.113, 5.877, 65.396) | |
| Decimal | 1514200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171AD8, 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 #171AD8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65:1 | Pass | Pass | Pass |
| #171AD8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #171AD8 looks to people with the most common types of color vision deficiency.
#004fddProtanopia
no red cones#003ad5Deuteranopia
no green cones#005d80Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #171ad8; }
.text { color: #171ad8; }
.border { border: 2px solid #171ad8; }
.transparent { background-color: rgb(23 26 216 / 50%); }
.gradient { background: linear-gradient(to right, #171ad8, #7417d8); }
Similar colors
#1f22d2Lapis on Neptune#0022ddBrutally Blue#0203e2Pure Blue#150aecBurning Ultrablue#0011eeMidsummer Nights#010fccTrue Blue#0000eeHyperlink Blue#3300ccBusty Blue
Closest common color name: Medium Blue.
Questions
- What color is #171AD8?
- #171AD8 is a vivid blue, closest to the named color Lapis on Neptune. It belongs to the blue family of colors.
- What is the RGB value of #171AD8?
- The RGB value is 23, 26, 216: 23 red, 26 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #171AD8?
- The complementary color is #D8D517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171AD8?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.65:1. WCAG asks for at least 4.5:1 for normal text.