#1B1832 color
The hex color #1B1832 is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 9.4% green and 19.6% blue (27, 24, 50).
Its hue angle is 247°, with 35% saturation and 15% lightness. For print, the CMYK equivalent is 46% cyan, 52% magenta, 0% yellow and 80% black.
The closest named color is Dark Knight (#151931), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.17:1).
#1B1832 color codes
| HEX | #1B1832 | |
|---|---|---|
| RGB | rgb(27, 24, 50) | |
| RGB percent | rgb(10.6%, 9.4%, 19.6%) | |
| HSL | hsl(247, 35%, 15%) | |
| HSV / HSB | hsv(247, 52%, 20%) | |
| CMYK | cmyk(46%, 52%, 0%, 80%) | |
| CIE LAB | lab(9.93, 9.46, -16.77) | |
| CIE LCH | lch(9.93, 19.25, 299.43) | |
| CIE XYZ | xyz(1.354, 1.117, 3.161) | |
| Decimal | 1775666 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B1832, 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 #1B1832 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.17:1 | Pass | Pass | Pass |
| #1B1832 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.17:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #1B1832 looks to people with the most common types of color vision deficiency.
#0f1c33Protanopia
no red cones#0f1b31Deuteranopia
no green cones#151d22Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #1b1832; }
.text { color: #1b1832; }
.border { border: 2px solid #1b1832; }
.transparent { background-color: rgb(27 24 50 / 50%); }
.gradient { background: linear-gradient(to right, #1b1832, #281832); }
Similar colors
#151931Dark Knight#161d3bNightwalker#222244Black Market#2a2243Midnight Velvet#060929Mysterious Depths#1c0f33Midnight Monarch#1f2133Eclipse Elixir#111122Corbeau
Closest common color name: Dark Purple.
Questions
- What color is #1B1832?
- #1B1832 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 #1B1832?
- The RGB value is 27, 24, 50: 27 red, 24 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #1B1832?
- The complementary color is #2F3218, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B1832?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.17:1. WCAG asks for at least 4.5:1 for normal text.