#1B173E color
The hex color #1B173E is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 9% green and 24.3% blue (27, 23, 62).
Its hue angle is 246°, with 46% saturation and 17% lightness. For print, the CMYK equivalent is 56% cyan, 63% magenta, 0% yellow and 76% black.
The closest named color is Azulado (#211D49), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.95:1).
#1B173E color codes
| HEX | #1B173E | |
|---|---|---|
| RGB | rgb(27, 23, 62) | |
| RGB percent | rgb(10.6%, 9%, 24.3%) | |
| HSL | hsl(246, 46%, 17%) | |
| HSV / HSB | hsv(246, 63%, 24%) | |
| CMYK | cmyk(56%, 63%, 0%, 76%) | |
| CIE LAB | lab(10.51, 14.61, -24.46) | |
| CIE LCH | lch(10.51, 28.49, 300.86) | |
| CIE XYZ | xyz(1.628, 1.194, 4.701) | |
| Decimal | 1775422 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B173E, 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 #1B173E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.95:1 | Pass | Pass | Pass |
| #1B173E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.95: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 #1B173E looks to people with the most common types of color vision deficiency.
#031e3fProtanopia
no red cones#011b3dDeuteranopia
no green cones#0e2027Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #1b173e; }
.text { color: #1b173e; }
.border { border: 2px solid #1b173e; }
.transparent { background-color: rgb(27 23 62 / 50%); }
.gradient { background: linear-gradient(to right, #1b173e, #2f173e); }
Similar colors
#211d49Azulado#231c4dSilent Orbit#1c1e4dFly-by-Night#1c0f33Midnight Monarch#071037Infinite Night#222244Black Market#111144Deadly Depths#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #1B173E?
- #1B173E 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 #1B173E?
- The RGB value is 27, 23, 62: 27 red, 23 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #1B173E?
- The complementary color is #3A3E17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B173E?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.95:1. WCAG asks for at least 4.5:1 for normal text.