#0B1866 color
The hex color #0B1866 is a dark, vivid blue.
In the RGB color model it is made of 4.3% red, 9.4% green and 40% blue (11, 24, 102).
Its hue angle is 231°, with 81% saturation and 22% lightness. For print, the CMYK equivalent is 89% cyan, 76% magenta, 0% yellow and 60% black.
The closest named color is Midnight Blue (#191970), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.71:1).
#0B1866 color codes
| HEX | #0B1866 | |
|---|---|---|
| RGB | rgb(11, 24, 102) | |
| RGB percent | rgb(4.3%, 9.4%, 40%) | |
| HSL | hsl(231, 81%, 22%) | |
| HSV / HSB | hsv(231, 89%, 40%) | |
| CMYK | cmyk(89%, 76%, 0%, 60%) | |
| CIE LAB | lab(13.73, 27.41, -46.57) | |
| CIE LCH | lch(13.73, 54.04, 300.48) | |
| CIE XYZ | xyz(2.862, 1.683, 12.742) | |
| Decimal | 727142 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B1866, 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 #0B1866 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.71:1 | Pass | Pass | Pass |
| #0B1866 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.71:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #0B1866 looks to people with the most common types of color vision deficiency.
#002768Protanopia
no red cones#001f65Deuteranopia
no green cones#002e3dTritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #0b1866; }
.text { color: #0b1866; }
.border { border: 2px solid #0b1866; }
.transparent { background-color: rgb(11 24 102 / 50%); }
.gradient { background: linear-gradient(to right, #0b1866, #2c0b66); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#111166Dying Storm Blue#001155Interstellar Blue#150f5bSpace Colonisation#222266Intergalactic Cowboy#112473Midnight Crest#002277Long-Haul Flight
Questions
- What color is #0B1866?
- #0B1866 is a dark, vivid blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of #0B1866?
- The RGB value is 11, 24, 102: 11 red, 24 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #0B1866?
- The complementary color is #66590B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B1866?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.71:1. WCAG asks for at least 4.5:1 for normal text.