#1B2526 color
The hex color #1B2526 is a very dark, grayish cyan.
In the RGB color model it is made of 10.6% red, 14.5% green and 14.9% blue (27, 37, 38).
Its hue angle is 185°, with 17% saturation and 13% lightness. For print, the CMYK equivalent is 29% cyan, 3% magenta, 0% yellow and 85% black.
The closest named color is Black Pearl (#1E272C), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.68:1).
#1B2526 color codes
| HEX | #1B2526 | |
|---|---|---|
| RGB | rgb(27, 37, 38) | |
| RGB percent | rgb(10.6%, 14.5%, 14.9%) | |
| HSL | hsl(185, 17%, 13%) | |
| HSV / HSB | hsv(185, 29%, 15%) | |
| CMYK | cmyk(29%, 3%, 0%, 85%) | |
| CIE LAB | lab(13.8, -4.08, -2.11) | |
| CIE LCH | lch(13.8, 4.59, 207.35) | |
| CIE XYZ | xyz(1.463, 1.696, 2.084) | |
| Decimal | 1778982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2526, 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 #1B2526 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.68:1 | Pass | Pass | Pass |
| #1B2526 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.68:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #1B2526 looks to people with the most common types of color vision deficiency.
#232426Protanopia
no red cones#212326Deuteranopia
no green cones#182625Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2526; }
.text { color: #1b2526; }
.border { border: 2px solid #1b2526; }
.transparent { background-color: rgb(27 37 38 / 50%); }
.gradient { background: linear-gradient(to right, #1b2526, #1b1f26); }
Similar colors
#1e272cBlack Pearl#262a2bGraphite Black#10252aSunken Ship#242a2eCinder#0e191cBlack Stallion#262926Bitter Liquorice#293135Nightmare Fuel#162825Swamp Thing
Closest common color name: Gunmetal.
Questions
- What color is #1B2526?
- #1B2526 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 #1B2526?
- The RGB value is 27, 37, 38: 27 red, 37 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #1B2526?
- The complementary color is #261C1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2526?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.68:1. WCAG asks for at least 4.5:1 for normal text.