#1B222F color
The hex color #1B222F is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 13.3% green and 18.4% blue (27, 34, 47).
Its hue angle is 219°, with 27% saturation and 15% lightness. For print, the CMYK equivalent is 43% cyan, 28% magenta, 0% yellow and 82% black.
The closest named color is Dark (#1B2431), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.95:1).
#1B222F color codes
| HEX | #1B222F | |
|---|---|---|
| RGB | rgb(27, 34, 47) | |
| RGB percent | rgb(10.6%, 13.3%, 18.4%) | |
| HSL | hsl(219, 27%, 15%) | |
| HSV / HSB | hsv(219, 43%, 18%) | |
| CMYK | cmyk(43%, 28%, 0%, 82%) | |
| CIE LAB | lab(13.12, 0.91, -9.61) | |
| CIE LCH | lch(13.12, 9.65, 275.43) | |
| CIE XYZ | xyz(1.537, 1.582, 2.913) | |
| Decimal | 1778223 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B222F, 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 #1B222F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.95:1 | Pass | Pass | Pass |
| #1B222F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.95: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 #1B222F looks to people with the most common types of color vision deficiency.
#1e2330Protanopia
no red cones#1c212fDeuteranopia
no green cones#152526Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1b222f; }
.text { color: #1b222f; }
.border { border: 2px solid #1b222f; }
.transparent { background-color: rgb(27 34 47 / 50%); }
.gradient { background: linear-gradient(to right, #1b222f, #1e1b2f); }
Similar colors
#1b2431Dark#1e2433Moonless Mystery#222831Infinity#102030The Count’s Black#0e1d32Trapped Darkness#21263aMidnight Express#1f2133Eclipse Elixir#161e34Sombre Night
Closest common color name: Rich Black.
Questions
- What color is #1B222F?
- #1B222F 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 #1B222F?
- The RGB value is 27, 34, 47: 27 red, 34 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #1B222F?
- The complementary color is #2F281B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B222F?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.95:1. WCAG asks for at least 4.5:1 for normal text.