#1B182F color
The hex color #1B182F is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 9.4% green and 18.4% blue (27, 24, 47).
Its hue angle is 248°, with 32% saturation and 14% lightness. For print, the CMYK equivalent is 43% cyan, 49% magenta, 0% yellow and 82% black.
The closest named color is Dark Knight (#151931), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.24:1).
#1B182F color codes
| HEX | #1B182F | |
|---|---|---|
| RGB | rgb(27, 24, 47) | |
| RGB percent | rgb(10.6%, 9.4%, 18.4%) | |
| HSL | hsl(248, 32%, 14%) | |
| HSV / HSB | hsv(248, 49%, 18%) | |
| CMYK | cmyk(43%, 49%, 0%, 82%) | |
| CIE LAB | lab(9.73, 8.4, -14.89) | |
| CIE LCH | lch(9.73, 17.1, 299.44) | |
| CIE XYZ | xyz(1.292, 1.091, 2.831) | |
| Decimal | 1775663 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B182F, 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 #1B182F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.24:1 | Pass | Pass | Pass |
| #1B182F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.24: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 #1B182F looks to people with the most common types of color vision deficiency.
#111b30Protanopia
no red cones#111a2eDeuteranopia
no green cones#161c21Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #1b182f; }
.text { color: #1b182f; }
.border { border: 2px solid #1b182f; }
.transparent { background-color: rgb(27 24 47 / 50%); }
.gradient { background: linear-gradient(to right, #1b182f, #27182f); }
Similar colors
#151931Dark Knight#161d3bNightwalker#111122Corbeau#1f2133Eclipse Elixir#222233Black Velvet#222244Black Market#161e34Sombre Night#060929Mysterious Depths
Closest common color name: Dark Purple.
Questions
- What color is #1B182F?
- #1B182F 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 #1B182F?
- The RGB value is 27, 24, 47: 27 red, 24 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #1B182F?
- The complementary color is #2C2F18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B182F?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.24:1. WCAG asks for at least 4.5:1 for normal text.