#1B2837 color
The hex color #1B2837 is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 15.7% green and 21.6% blue (27, 40, 55).
Its hue angle is 212°, with 34% saturation and 16% lightness. For print, the CMYK equivalent is 51% cyan, 27% magenta, 0% yellow and 78% 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.94:1).
#1B2837 color codes
| HEX | #1B2837 | |
|---|---|---|
| RGB | rgb(27, 40, 55) | |
| RGB percent | rgb(10.6%, 15.7%, 21.6%) | |
| HSL | hsl(212, 34%, 16%) | |
| HSV / HSB | hsv(212, 51%, 22%) | |
| CMYK | cmyk(51%, 27%, 0%, 78%) | |
| CIE LAB | lab(15.62, -0.61, -11.43) | |
| CIE LCH | lch(15.62, 11.44, 266.94) | |
| CIE XYZ | xyz(1.9, 2.026, 3.905) | |
| Decimal | 1779767 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2837, 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 #1B2837 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.94:1 | Pass | Pass | Pass |
| #1B2837 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.94:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #1B2837 looks to people with the most common types of color vision deficiency.
#222938Protanopia
no red cones#1f2637Deuteranopia
no green cones#102b2dTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2837; }
.text { color: #1b2837; }
.border { border: 2px solid #1b2837; }
.transparent { background-color: rgb(27 40 55 / 50%); }
.gradient { background: linear-gradient(to right, #1b2837, #1c1b37); }
Similar colors
#1b2431Dark#102030The Count’s Black#222831Infinity#1e2433Moonless Mystery#172b36Oceanic Noir#0e1d32Trapped Darkness#1e3442Blue Whale#001b2eOxford by Night
Closest common color name: Gunmetal.
Questions
- What color is #1B2837?
- #1B2837 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 #1B2837?
- The RGB value is 27, 40, 55: 27 red, 40 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #1B2837?
- The complementary color is #372A1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2837?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.94:1. WCAG asks for at least 4.5:1 for normal text.