#0B0B2E color
The hex color #0B0B2E is a very dark, moderate blue.
In the RGB color model it is made of 4.3% red, 4.3% green and 18% blue (11, 11, 46).
Its hue angle is 240°, with 61% saturation and 11% lightness. For print, the CMYK equivalent is 76% cyan, 76% magenta, 0% yellow and 82% black.
The closest named color is Mysterious Depths (#060929), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.06:1).
#0B0B2E color codes
| HEX | #0B0B2E | |
|---|---|---|
| RGB | rgb(11, 11, 46) | |
| RGB percent | rgb(4.3%, 4.3%, 18%) | |
| HSL | hsl(240, 61%, 11%) | |
| HSV / HSB | hsv(240, 76%, 18%) | |
| CMYK | cmyk(76%, 76%, 0%, 82%) | |
| CIE LAB | lab(4.59, 10.98, -22.41) | |
| CIE LCH | lch(4.59, 24.96, 296.11) | |
| CIE XYZ | xyz(0.751, 0.508, 2.643) | |
| Decimal | 723758 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B0B2E, 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 #0B0B2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.06:1 | Pass | Pass | Pass |
| #0B0B2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.06:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #0B0B2E looks to people with the most common types of color vision deficiency.
#00112fProtanopia
no red cones#000e2dDeuteranopia
no green cones#00141aTritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #0b0b2e; }
.text { color: #0b0b2e; }
.border { border: 2px solid #0b0b2e; }
.transparent { background-color: rgb(11 11 46 / 50%); }
.gradient { background: linear-gradient(to right, #0b0b2e, #1c0b2e); }
Similar colors
#060929Mysterious Depths#03012dMidnight#071037Infinite Night#00022eIllicit Darkness#000435Oblivion#041330Squid’s Ink#151931Dark Knight#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #0B0B2E?
- #0B0B2E is a very dark, moderate blue, closest to the named color Mysterious Depths. It belongs to the black family of colors.
- What is the RGB value of #0B0B2E?
- The RGB value is 11, 11, 46: 11 red, 11 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #0B0B2E?
- The complementary color is #2E2E0B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B0B2E?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.06:1. WCAG asks for at least 4.5:1 for normal text.