#151B29 color
The hex color #151B29 is a very dark, desaturated blue.
In the RGB color model it is made of 8.2% red, 10.6% green and 16.1% blue (21, 27, 41).
Its hue angle is 222°, with 32% saturation and 12% lightness. For print, the CMYK equivalent is 49% cyan, 34% magenta, 0% yellow and 84% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.2:1).
#151B29 color codes
| HEX | #151B29 | |
|---|---|---|
| RGB | rgb(21, 27, 41) | |
| RGB percent | rgb(8.2%, 10.6%, 16.1%) | |
| HSL | hsl(222, 32%, 12%) | |
| HSV / HSB | hsv(222, 49%, 16%) | |
| CMYK | cmyk(49%, 34%, 0%, 84%) | |
| CIE LAB | lab(9.82, 1.83, -10.38) | |
| CIE LCH | lch(9.82, 10.54, 280.01) | |
| CIE XYZ | xyz(1.101, 1.103, 2.252) | |
| Decimal | 1383209 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151B29, 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 #151B29 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.2:1 | Pass | Pass | Pass |
| #151B29 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.2: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 #151B29 looks to people with the most common types of color vision deficiency.
#161c2aProtanopia
no red cones#141a29Deuteranopia
no green cones#0f1e20Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #151b29; }
.text { color: #151b29; }
.border { border: 2px solid #151b29; }
.transparent { background-color: rgb(21 27 41 / 50%); }
.gradient { background: linear-gradient(to right, #151b29, #191529); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#0e1d32Trapped Darkness#161e34Sombre Night#1f2133Eclipse Elixir#102030The Count’s Black#0c121bMidnight Edition#111122Corbeau
Closest common color name: Rich Black.
Questions
- What color is #151B29?
- #151B29 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #151B29?
- The RGB value is 21, 27, 41: 21 red, 27 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #151B29?
- The complementary color is #292315, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151B29?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.2:1. WCAG asks for at least 4.5:1 for normal text.