#0B021A color

#0B021A rgb(11, 2, 26)
Shades of black

The hex color #0B021A is a very dark, vivid violet.

In the RGB color model it is made of 4.3% red, 0.8% green and 10.2% blue (11, 2, 26).

Its hue angle is 263°, with 86% saturation and 5% lightness. For print, the CMYK equivalent is 58% cyan, 92% magenta, 0% yellow and 90% black.

The closest named color is Corbeau (#111122), a difference of 3.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 20.23:1).

#0B021A color codes

HEX#0B021A
RGBrgb(11, 2, 26)
RGB percentrgb(4.3%, 0.8%, 10.2%)
HSLhsl(263, 86%, 5%)
HSV / HSBhsv(263, 92%, 10%)
CMYKcmyk(58%, 92%, 0%, 90%)
CIE LABlab(1.71, 6.81, -11.29)
CIE LCHlch(1.71, 13.18, 301.12)
CIE XYZxyz(0.346, 0.189, 0.995)
Decimal721434
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0B021A, 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 #0B021ARatioAAAAAAA large
Sample text1.04:1FailFailFail
Sample text20.23:1PassPassPass
#0B021A as text onRatioAAAAAAA large
Sample text20.23:1PassPassPass
Sample text1.04: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 #0B021A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0b021a; }
.text { color: #0b021a; }
.border { border: 2px solid #0b021a; }
.transparent { background-color: rgb(11 2 26 / 50%); }
.gradient { background: linear-gradient(to right, #0b021a, #17021a); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #0B021A?
#0B021A is a very dark, vivid violet, closest to the named color Corbeau. It belongs to the black family of colors.
What is the RGB value of #0B021A?
The RGB value is 11, 2, 26: 11 red, 2 green and 26 blue on a 0 to 255 scale.
What is the complementary color of #0B021A?
The complementary color is #111A02, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0B021A?
White text. Black text has a contrast ratio of 1.04:1 and white text 20.23:1. WCAG asks for at least 4.5:1 for normal text.