#0B051C color

#0B051C rgb(11, 5, 28)
Shades of black

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
RGBrgb(11, 5, 28)
RGB percentrgb(4.3%, 2%, 11%)
HSLhsl(256, 70%, 6%)
HSV / HSBhsv(256, 82%, 11%)
CMYKcmyk(61%, 82%, 0%, 89%)
CIE LABlab(2.38, 6.2, -11.91)
CIE LCHlch(2.38, 13.43, 297.5)
CIE XYZxyz(0.402, 0.264, 1.128)
Decimal722204
Short hexNone (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 #0B051CRatioAAAAAAA large
Sample text1.05:1FailFailFail
Sample text19.95:1PassPassPass
#0B051C as text onRatioAAAAAAA large
Sample text19.95:1PassPassPass
Sample text1.05:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.