#0B051C color
The hex color #0B051C is a very dark, moderate violet.
In the RGB color model it is made of 4.3% red, 2% green and 11% blue (11, 5, 28).
Its hue angle is 256°, with 70% saturation and 6% lightness. For print, the CMYK equivalent is 61% cyan, 82% magenta, 0% yellow and 89% black.
The closest named color is Corbeau (#111122), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.95:1).
#0B051C color codes
| HEX | #0B051C | |
|---|---|---|
| RGB | rgb(11, 5, 28) | |
| RGB percent | rgb(4.3%, 2%, 11%) | |
| HSL | hsl(256, 70%, 6%) | |
| HSV / HSB | hsv(256, 82%, 11%) | |
| CMYK | cmyk(61%, 82%, 0%, 89%) | |
| CIE LAB | lab(2.38, 6.2, -11.91) | |
| CIE LCH | lch(2.38, 13.43, 297.5) | |
| CIE XYZ | xyz(0.402, 0.264, 1.128) | |
| Decimal | 722204 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B051C, 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 #0B051C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.95:1 | Pass | Pass | Pass |
| #0B051C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.95:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #0B051C looks to people with the most common types of color vision deficiency.
#00091dProtanopia
no red cones#00081bDeuteranopia
no green cones#07090fTritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #0b051c; }
.text { color: #0b051c; }
.border { border: 2px solid #0b051c; }
.transparent { background-color: rgb(11 5 28 / 50%); }
.gradient { background: linear-gradient(to right, #0b051c, #17051c); }
Similar colors
#111122Corbeau#060313Obsidian Shard#050d25Void#060929Mysterious Depths#151931Dark Knight#110011Glossy Black#16141cBack in Black#080813Narwhal Gray
Closest common color name: Midnight Black.
Questions
- What color is #0B051C?
- #0B051C is a very dark, moderate violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #0B051C?
- The RGB value is 11, 5, 28: 11 red, 5 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #0B051C?
- The complementary color is #161C05, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B051C?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.95:1. WCAG asks for at least 4.5:1 for normal text.