#0B0C2D color
The hex color #0B0C2D is a very dark, moderate blue.
In the RGB color model it is made of 4.3% red, 4.7% green and 17.6% blue (11, 12, 45).
Its hue angle is 238°, with 61% saturation and 11% lightness. For print, the CMYK equivalent is 76% cyan, 73% magenta, 0% yellow and 82% black.
The closest named color is Mysterious Depths (#060929), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.01:1).
#0B0C2D color codes
| HEX | #0B0C2D | |
|---|---|---|
| RGB | rgb(11, 12, 45) | |
| RGB percent | rgb(4.3%, 4.7%, 17.6%) | |
| HSL | hsl(238, 61%, 11%) | |
| HSV / HSB | hsv(238, 76%, 18%) | |
| CMYK | cmyk(76%, 73%, 0%, 82%) | |
| CIE LAB | lab(4.73, 10.05, -21.44) | |
| CIE LCH | lch(4.73, 23.68, 295.13) | |
| CIE XYZ | xyz(0.743, 0.523, 2.544) | |
| Decimal | 724013 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B0C2D, 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 #0B0C2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.01:1 | Pass | Pass | Pass |
| #0B0C2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.01: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 #0B0C2D looks to people with the most common types of color vision deficiency.
#00122eProtanopia
no red cones#000f2cDeuteranopia
no green cones#00141aTritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #0b0c2d; }
.text { color: #0b0c2d; }
.border { border: 2px solid #0b0c2d; }
.transparent { background-color: rgb(11 12 45 / 50%); }
.gradient { background: linear-gradient(to right, #0b0c2d, #1b0b2d); }
Similar colors
#060929Mysterious Depths#03012dMidnight#071037Infinite Night#00022eIllicit Darkness#041330Squid’s Ink#000435Oblivion#151931Dark Knight#161d3bNightwalker
Closest common color name: Oxford Blue.
Questions
- What color is #0B0C2D?
- #0B0C2D 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 #0B0C2D?
- The RGB value is 11, 12, 45: 11 red, 12 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #0B0C2D?
- The complementary color is #2D2C0B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B0C2D?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.01:1. WCAG asks for at least 4.5:1 for normal text.