#0B1821 color
The hex color #0B1821 is a very dark, desaturated azure.
In the RGB color model it is made of 4.3% red, 9.4% green and 12.9% blue (11, 24, 33).
Its hue angle is 205°, with 50% saturation and 9% lightness. For print, the CMYK equivalent is 67% cyan, 27% magenta, 0% yellow and 87% black.
The closest named color is Midnight Edition (#0C121B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18:1).
#0B1821 color codes
| HEX | #0B1821 | |
|---|---|---|
| RGB | rgb(11, 24, 33) | |
| RGB percent | rgb(4.3%, 9.4%, 12.9%) | |
| HSL | hsl(205, 50%, 9%) | |
| HSV / HSB | hsv(205, 67%, 13%) | |
| CMYK | cmyk(67%, 27%, 0%, 87%) | |
| CIE LAB | lab(7.53, -2.2, -8) | |
| CIE LCH | lch(7.53, 8.3, 254.61) | |
| CIE XYZ | xyz(0.739, 0.834, 1.561) | |
| Decimal | 727073 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B1821, 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 #0B1821 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 18:1 | Pass | Pass | Pass |
| #0B1821 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #0B1821 looks to people with the most common types of color vision deficiency.
#141821Protanopia
no red cones#111621Deuteranopia
no green cones#031a1bTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #0b1821; }
.text { color: #0b1821; }
.border { border: 2px solid #0b1821; }
.transparent { background-color: rgb(11 24 33 / 50%); }
.gradient { background: linear-gradient(to right, #0b1821, #0b0d21); }
Similar colors
#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#0e191cBlack Stallion#102030The Count’s Black#060b14Dark Rift#001b2eOxford by Night#1b2431Dark
Questions
- What color is #0B1821?
- #0B1821 is a very dark, desaturated azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #0B1821?
- The RGB value is 11, 24, 33: 11 red, 24 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0B1821?
- The complementary color is #21140B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B1821?
- White text. Black text has a contrast ratio of 1.17:1 and white text 18:1. WCAG asks for at least 4.5:1 for normal text.