#1B2836 color
The hex color #1B2836 is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 15.7% green and 21.2% blue (27, 40, 54).
Its hue angle is 211°, with 33% saturation and 16% lightness. For print, the CMYK equivalent is 50% cyan, 26% magenta, 0% yellow and 79% black.
The closest named color is Dark (#1B2431), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.96:1).
#1B2836 color codes
| HEX | #1B2836 | |
|---|---|---|
| RGB | rgb(27, 40, 54) | |
| RGB percent | rgb(10.6%, 15.7%, 21.2%) | |
| HSL | hsl(211, 33%, 16%) | |
| HSV / HSB | hsv(211, 50%, 21%) | |
| CMYK | cmyk(50%, 26%, 0%, 79%) | |
| CIE LAB | lab(15.58, -0.97, -10.8) | |
| CIE LCH | lch(15.58, 10.85, 264.89) | |
| CIE XYZ | xyz(1.876, 2.017, 3.78) | |
| Decimal | 1779766 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2836, 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 #1B2836 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.96:1 | Pass | Pass | Pass |
| #1B2836 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.96:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #1B2836 looks to people with the most common types of color vision deficiency.
#232837Protanopia
no red cones#1f2636Deuteranopia
no green cones#112b2dTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2836; }
.text { color: #1b2836; }
.border { border: 2px solid #1b2836; }
.transparent { background-color: rgb(27 40 54 / 50%); }
.gradient { background: linear-gradient(to right, #1b2836, #1b1b36); }
Similar colors
#1b2431Dark#102030The Count’s Black#222831Infinity#1e2433Moonless Mystery#172b36Oceanic Noir#1e3442Blue Whale#1e272cBlack Pearl#002233Midnight Dreams
Closest common color name: Gunmetal.
Questions
- What color is #1B2836?
- #1B2836 is a very dark, desaturated azure, closest to the named color Dark. It belongs to the black family of colors.
- What is the RGB value of #1B2836?
- The RGB value is 27, 40, 54: 27 red, 40 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #1B2836?
- The complementary color is #36291B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2836?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.96:1. WCAG asks for at least 4.5:1 for normal text.