#1B173B color
The hex color #1B173B is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 9% green and 23.1% blue (27, 23, 59).
Its hue angle is 247°, with 44% saturation and 16% lightness. For print, the CMYK equivalent is 54% cyan, 61% magenta, 0% yellow and 77% black.
The closest named color is Azulado (#211D49), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.04:1).
#1B173B color codes
| HEX | #1B173B | |
|---|---|---|
| RGB | rgb(27, 23, 59) | |
| RGB percent | rgb(10.6%, 9%, 23.1%) | |
| HSL | hsl(247, 44%, 16%) | |
| HSV / HSB | hsv(247, 61%, 23%) | |
| CMYK | cmyk(54%, 61%, 0%, 77%) | |
| CIE LAB | lab(10.27, 13.49, -22.71) | |
| CIE LCH | lch(10.27, 26.41, 300.72) | |
| CIE XYZ | xyz(1.548, 1.162, 4.279) | |
| Decimal | 1775419 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B173B, 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 #1B173B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.04:1 | Pass | Pass | Pass |
| #1B173B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.04:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #1B173B looks to people with the most common types of color vision deficiency.
#061d3cProtanopia
no red cones#051b3aDeuteranopia
no green cones#101f26Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #1b173b; }
.text { color: #1b173b; }
.border { border: 2px solid #1b173b; }
.transparent { background-color: rgb(27 23 59 / 50%); }
.gradient { background: linear-gradient(to right, #1b173b, #2d173b); }
Similar colors
#211d49Azulado#1c0f33Midnight Monarch#222244Black Market#071037Infinite Night#2a2243Midnight Velvet#231c4dSilent Orbit#1c1e4dFly-by-Night#161d3bNightwalker
Closest common color name: Dark Purple.
Questions
- What color is #1B173B?
- #1B173B is a very dark, desaturated blue, closest to the named color Azulado. It belongs to the black family of colors.
- What is the RGB value of #1B173B?
- The RGB value is 27, 23, 59: 27 red, 23 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #1B173B?
- The complementary color is #373B17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B173B?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.04:1. WCAG asks for at least 4.5:1 for normal text.