#0B020E color
The hex color #0B020E is a black.
In the RGB color model it is made of 4.3% red, 0.8% green and 5.5% blue (11, 2, 14).
Its hue angle is 285°, with 75% saturation and 3% lightness. For print, the CMYK equivalent is 21% cyan, 86% magenta, 0% yellow and 95% black.
The closest named color is Obsidian Shard (#060313), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.4:1).
#0B020E color codes
| HEX | #0B020E | |
|---|---|---|
| RGB | rgb(11, 2, 14) | |
| RGB percent | rgb(4.3%, 0.8%, 5.5%) | |
| HSL | hsl(285, 75%, 3%) | |
| HSV / HSB | hsv(285, 86%, 5%) | |
| CMYK | cmyk(21%, 86%, 0%, 95%) | |
| CIE LAB | lab(1.32, 4.09, -3.89) | |
| CIE LCH | lch(1.32, 5.65, 316.49) | |
| CIE XYZ | xyz(0.239, 0.146, 0.431) | |
| Decimal | 721422 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B020E, 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 #0B020E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.03:1 | Fail | Fail | Fail |
| Sample text | 20.4:1 | Pass | Pass | Pass |
| #0B020E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.4:1 | Pass | Pass | Pass |
| Sample text | 1.03: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 #0B020E looks to people with the most common types of color vision deficiency.
#01040eProtanopia
no red cones#02050eDeuteranopia
no green cones#0b0306Tritanopia
no blue cones#050505Achromatopsia
no color vision
CSS examples
.background { background-color: #0b020e; }
.text { color: #0b020e; }
.border { border: 2px solid #0b020e; }
.transparent { background-color: rgb(11 2 14 / 50%); }
.gradient { background: linear-gradient(to right, #0b020e, #0e020b); }
Similar colors
#060313Obsidian Shard#150811Noir Fiction#080813Narwhal Gray#110011Glossy Black#16141cBack in Black#1a161dViolet Void#0b0c14Midnight Oil#0f0707Knight Rider
Closest common color name: Midnight Black.
Questions
- What color is #0B020E?
- #0B020E is a black, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #0B020E?
- The RGB value is 11, 2, 14: 11 red, 2 green and 14 blue on a 0 to 255 scale.
- What is the complementary color of #0B020E?
- The complementary color is #050E02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B020E?
- White text. Black text has a contrast ratio of 1.03:1 and white text 20.4:1. WCAG asks for at least 4.5:1 for normal text.