#161B26 color
The hex color #161B26 is a very dark, desaturated blue.
In the RGB color model it is made of 8.6% red, 10.6% green and 14.9% blue (22, 27, 38).
Its hue angle is 221°, with 27% saturation and 12% lightness. For print, the CMYK equivalent is 42% cyan, 29% magenta, 0% yellow and 85% black.
The closest named color is Midnight Edition (#0C121B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.23:1).
#161B26 color codes
| HEX | #161B26 | |
|---|---|---|
| RGB | rgb(22, 27, 38) | |
| RGB percent | rgb(8.6%, 10.6%, 14.9%) | |
| HSL | hsl(221, 27%, 12%) | |
| HSV / HSB | hsv(221, 42%, 15%) | |
| CMYK | cmyk(42%, 29%, 0%, 85%) | |
| CIE LAB | lab(9.75, 1.14, -8.26) | |
| CIE LCH | lch(9.75, 8.34, 277.87) | |
| CIE XYZ | xyz(1.073, 1.094, 1.988) | |
| Decimal | 1448742 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #161B26, 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 #161B26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.23:1 | Pass | Pass | Pass |
| #161B26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.23: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 #161B26 looks to people with the most common types of color vision deficiency.
#171c26Protanopia
no red cones#161a26Deuteranopia
no green cones#111d1fTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #161b26; }
.text { color: #161b26; }
.border { border: 2px solid #161b26; }
.transparent { background-color: rgb(22 27 38 / 50%); }
.gradient { background: linear-gradient(to right, #161b26, #191626); }
Similar colors
#0c121bMidnight Edition#1b2431Dark#16161dEigengrau#1e2433Moonless Mystery#16141cBack in Black#102030The Count’s Black#222831Infinity#060b14Dark Rift
Closest common color name: Rich Black.
Questions
- What color is #161B26?
- #161B26 is a very dark, desaturated blue, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #161B26?
- The RGB value is 22, 27, 38: 22 red, 27 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #161B26?
- The complementary color is #262116, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #161B26?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.23:1. WCAG asks for at least 4.5:1 for normal text.