#1B282C color
The hex color #1B282C is a very dark, grayish cyan.
In the RGB color model it is made of 10.6% red, 15.7% green and 17.3% blue (27, 40, 44).
Its hue angle is 194°, with 24% saturation and 14% lightness. For print, the CMYK equivalent is 39% cyan, 9% magenta, 0% yellow and 83% black.
The closest named color is Black Pearl (#1E272C), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.15:1).
#1B282C color codes
| HEX | #1B282C | |
|---|---|---|
| RGB | rgb(27, 40, 44) | |
| RGB percent | rgb(10.6%, 15.7%, 17.3%) | |
| HSL | hsl(194, 24%, 14%) | |
| HSV / HSB | hsv(194, 39%, 17%) | |
| CMYK | cmyk(39%, 9%, 0%, 83%) | |
| CIE LAB | lab(15.13, -4.31, -4.42) | |
| CIE LCH | lch(15.13, 6.17, 225.71) | |
| CIE XYZ | xyz(1.665, 1.932, 2.668) | |
| Decimal | 1779756 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B282C, 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 #1B282C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.15:1 | Pass | Pass | Pass |
| #1B282C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.15:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #1B282C looks to people with the most common types of color vision deficiency.
#25272cProtanopia
no red cones#23252cDeuteranopia
no green cones#152929Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #1b282c; }
.text { color: #1b282c; }
.border { border: 2px solid #1b282c; }
.transparent { background-color: rgb(27 40 44 / 50%); }
.gradient { background: linear-gradient(to right, #1b282c, #1b202c); }
Similar colors
#1e272cBlack Pearl#10252aSunken Ship#0f282fBlack Box#242a2eCinder#293135Nightmare Fuel#172b36Oceanic Noir#2a3439Gunmetal#262a2bGraphite Black
Questions
- What color is #1B282C?
- #1B282C is a very dark, grayish cyan, closest to the named color Black Pearl. It belongs to the black family of colors.
- What is the RGB value of #1B282C?
- The RGB value is 27, 40, 44: 27 red, 40 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #1B282C?
- The complementary color is #2C1F1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B282C?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.15:1. WCAG asks for at least 4.5:1 for normal text.