#171B30 color
The hex color #171B30 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 10.6% green and 18.8% blue (23, 27, 48).
Its hue angle is 230°, with 35% saturation and 14% lightness. For print, the CMYK equivalent is 52% cyan, 44% magenta, 0% yellow and 81% black.
The closest named color is Dark Knight (#151931), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.99:1).
#171B30 color codes
| HEX | #171B30 | |
|---|---|---|
| RGB | rgb(23, 27, 48) | |
| RGB percent | rgb(9%, 10.6%, 18.8%) | |
| HSL | hsl(230, 35%, 14%) | |
| HSV / HSB | hsv(230, 52%, 19%) | |
| CMYK | cmyk(52%, 44%, 0%, 81%) | |
| CIE LAB | lab(10.4, 5.1, -14.59) | |
| CIE LCH | lch(10.4, 15.45, 289.29) | |
| CIE XYZ | xyz(1.279, 1.179, 2.956) | |
| Decimal | 1514288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171B30, 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 #171B30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.99:1 | Pass | Pass | Pass |
| #171B30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.99:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #171B30 looks to people with the most common types of color vision deficiency.
#141d31Protanopia
no red cones#121b30Deuteranopia
no green cones#0f1f23Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #171b30; }
.text { color: #171b30; }
.border { border: 2px solid #171b30; }
.transparent { background-color: rgb(23 27 48 / 50%); }
.gradient { background: linear-gradient(to right, #171b30, #201730); }
Similar colors
#151931Dark Knight#161e34Sombre Night#1f2133Eclipse Elixir#222233Black Velvet#111122Corbeau#21263aMidnight Express#161d3bNightwalker#050d25Void
Closest common color name: Oxford Blue.
Questions
- What color is #171B30?
- #171B30 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #171B30?
- The RGB value is 23, 27, 48: 23 red, 27 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #171B30?
- The complementary color is #302C17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171B30?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.99:1. WCAG asks for at least 4.5:1 for normal text.