Dark color: hex code #1B2431
Dark has the hex code #1B2431. It is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 14.1% green and 19.2% blue (27, 36, 49).
Its hue angle is 215°, with 29% saturation and 15% lightness. For print, the CMYK equivalent is 45% cyan, 27% magenta, 0% yellow and 81% black.
White text is the more readable choice on this background (contrast 15.63:1).
Dark (#1B2431) color codes
| HEX | #1B2431 | |
|---|---|---|
| RGB | rgb(27, 36, 49) | |
| RGB percent | rgb(10.6%, 14.1%, 19.2%) | |
| HSL | hsl(215, 29%, 15%) | |
| HSV / HSB | hsv(215, 45%, 19%) | |
| CMYK | cmyk(45%, 27%, 0%, 81%) | |
| CIE LAB | lab(13.92, 0.15, -9.81) | |
| CIE LCH | lch(13.92, 9.81, 270.87) | |
| CIE XYZ | xyz(1.637, 1.716, 3.15) | |
| Decimal | 1778737 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Dark, 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 #1B2431 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.63:1 | Pass | Pass | Pass |
| #1B2431 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.63: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 #1B2431 looks to people with the most common types of color vision deficiency.
#1f2532Protanopia
no red cones#1d2231Deuteranopia
no green cones#142728Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2431; }
.text { color: #1b2431; }
.border { border: 2px solid #1b2431; }
.transparent { background-color: rgb(27 36 49 / 50%); }
.gradient { background: linear-gradient(to right, #1b2431, #1d1b31); }
Similar colors
#1e2433Moonless Mystery#222831Infinity#102030The Count’s Black#0e1d32Trapped Darkness#292b31Night Sky#21263aMidnight Express#1e272cBlack Pearl#29292fJaguar
Closest common color name: Gunmetal.
See #1B2431 on its hex code page
Questions
- What color is #1B2431?
- #1B2431 is a very dark, desaturated azure known as Dark. It belongs to the black family of colors.
- What is the RGB value of Dark?
- The RGB value is 27, 36, 49: 27 red, 36 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of Dark?
- The complementary color is #31281B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2431?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.63:1. WCAG asks for at least 4.5:1 for normal text.