#1B232B color
The hex color #1B232B is a very dark, grayish azure.
In the RGB color model it is made of 10.6% red, 13.7% green and 16.9% blue (27, 35, 43).
Its hue angle is 210°, with 23% saturation and 14% lightness. For print, the CMYK equivalent is 37% cyan, 19% magenta, 0% yellow and 83% black.
The closest named color is Infinity (#222831), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.89:1).
#1B232B color codes
| HEX | #1B232B | |
|---|---|---|
| RGB | rgb(27, 35, 43) | |
| RGB percent | rgb(10.6%, 13.7%, 16.9%) | |
| HSL | hsl(210, 23%, 14%) | |
| HSV / HSB | hsv(210, 37%, 17%) | |
| CMYK | cmyk(37%, 19%, 0%, 83%) | |
| CIE LAB | lab(13.29, -1.13, -6.48) | |
| CIE LCH | lch(13.29, 6.58, 260.09) | |
| CIE XYZ | xyz(1.489, 1.609, 2.517) | |
| Decimal | 1778475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B232B, 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 #1B232B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.89:1 | Pass | Pass | Pass |
| #1B232B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.89:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #1B232B looks to people with the most common types of color vision deficiency.
#20232bProtanopia
no red cones#1e212bDeuteranopia
no green cones#162526Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1b232b; }
.text { color: #1b232b; }
.border { border: 2px solid #1b232b; }
.transparent { background-color: rgb(27 35 43 / 50%); }
.gradient { background: linear-gradient(to right, #1b232b, #1b1b2b); }
Similar colors
#222831Infinity#1e272cBlack Pearl#1b2431Dark#242a2eCinder#1c1e21Satin Deep Black#202124Noble Black#292b31Night Sky#102030The Count’s Black
Closest common color name: Gunmetal.
Questions
- What color is #1B232B?
- #1B232B is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #1B232B?
- The RGB value is 27, 35, 43: 27 red, 35 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1B232B?
- The complementary color is #2B231B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B232B?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.89:1. WCAG asks for at least 4.5:1 for normal text.