#1B1D26 color
The hex color #1B1D26 is a very dark, grayish blue.
In the RGB color model it is made of 10.6% red, 11.4% green and 14.9% blue (27, 29, 38).
Its hue angle is 229°, with 17% saturation and 13% lightness. For print, the CMYK equivalent is 29% cyan, 24% magenta, 0% yellow and 85% black.
The closest named color is Eigengrau (#16161D), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.8:1).
#1B1D26 color codes
| HEX | #1B1D26 | |
|---|---|---|
| RGB | rgb(27, 29, 38) | |
| RGB percent | rgb(10.6%, 11.4%, 14.9%) | |
| HSL | hsl(229, 17%, 13%) | |
| HSV / HSB | hsv(229, 29%, 15%) | |
| CMYK | cmyk(29%, 24%, 0%, 85%) | |
| CIE LAB | lab(10.93, 1.65, -6.42) | |
| CIE LCH | lch(10.93, 6.63, 284.42) | |
| CIE XYZ | xyz(1.241, 1.252, 2.01) | |
| Decimal | 1776934 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B1D26, 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 #1B1D26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.8:1 | Pass | Pass | Pass |
| #1B1D26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.8:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #1B1D26 looks to people with the most common types of color vision deficiency.
#1a1e26Protanopia
no red cones#1a1d26Deuteranopia
no green cones#181f20Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1b1d26; }
.text { color: #1b1d26; }
.border { border: 2px solid #1b1d26; }
.transparent { background-color: rgb(27 29 38 / 50%); }
.gradient { background: linear-gradient(to right, #1b1d26, #1e1b26); }
Similar colors
#16161dEigengrau#16141cBack in Black#1e2433Moonless Mystery#1e1e21Inkwell Inception#1b2431Dark#0c121bMidnight Edition#202124Noble Black#222831Infinity
Closest common color name: Midnight Black.
Questions
- What color is #1B1D26?
- #1B1D26 is a very dark, grayish blue, closest to the named color Eigengrau. It belongs to the black family of colors.
- What is the RGB value of #1B1D26?
- The RGB value is 27, 29, 38: 27 red, 29 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #1B1D26?
- The complementary color is #26241B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B1D26?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.8:1. WCAG asks for at least 4.5:1 for normal text.