#0B124D color
The hex color #0B124D is a very dark, moderate blue.
In the RGB color model it is made of 4.3% red, 7.1% green and 30.2% blue (11, 18, 77).
Its hue angle is 234°, with 75% saturation and 17% lightness. For print, the CMYK equivalent is 86% cyan, 77% magenta, 0% yellow and 70% black.
The closest named color is Interstellar Blue (#001155), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.39:1).
#0B124D color codes
| HEX | #0B124D | |
|---|---|---|
| RGB | rgb(11, 18, 77) | |
| RGB percent | rgb(4.3%, 7.1%, 30.2%) | |
| HSL | hsl(234, 75%, 17%) | |
| HSV / HSB | hsv(234, 86%, 30%) | |
| CMYK | cmyk(86%, 77%, 0%, 70%) | |
| CIE LAB | lab(9.32, 21.47, -36.97) | |
| CIE LCH | lch(9.32, 42.75, 300.15) | |
| CIE XYZ | xyz(1.693, 1.039, 7.131) | |
| Decimal | 725581 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B124D, 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 #0B124D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.39:1 | Pass | Pass | Pass |
| #0B124D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.39:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #0B124D looks to people with the most common types of color vision deficiency.
#001d4fProtanopia
no red cones#00174cDeuteranopia
no green cones#00222dTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #0b124d; }
.text { color: #0b124d; }
.border { border: 2px solid #0b124d; }
.transparent { background-color: rgb(11 18 77 / 50%); }
.gradient { background: linear-gradient(to right, #0b124d, #250b4d); }
Similar colors
#001155Interstellar Blue#000b44Storm#111144Deadly Depths#0f084bSilent Twilight#150f5bSpace Colonisation#000044Endless Galaxy#1c1e4dFly-by-Night#231c4dSilent Orbit
Closest common color name: Midnight Blue.
Questions
- What color is #0B124D?
- #0B124D is a very dark, moderate blue, closest to the named color Interstellar Blue. It belongs to the black family of colors.
- What is the RGB value of #0B124D?
- The RGB value is 11, 18, 77: 11 red, 18 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #0B124D?
- The complementary color is #4D460B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B124D?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.39:1. WCAG asks for at least 4.5:1 for normal text.