#0D183B color
The hex color #0D183B is a very dark, moderate blue.
In the RGB color model it is made of 5.1% red, 9.4% green and 23.1% blue (13, 24, 59).
Its hue angle is 226°, with 64% saturation and 14% lightness. For print, the CMYK equivalent is 78% cyan, 59% magenta, 0% yellow and 77% black.
The closest named color is Nightwalker (#161D3B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.34:1).
#0D183B color codes
| HEX | #0D183B | |
|---|---|---|
| RGB | rgb(13, 24, 59) | |
| RGB percent | rgb(5.1%, 9.4%, 23.1%) | |
| HSL | hsl(226, 64%, 14%) | |
| HSV / HSB | hsv(226, 78%, 23%) | |
| CMYK | cmyk(78%, 59%, 0%, 77%) | |
| CIE LAB | lab(9.44, 9.37, -24.11) | |
| CIE LCH | lch(9.44, 25.86, 291.24) | |
| CIE XYZ | xyz(1.282, 1.054, 4.273) | |
| Decimal | 858171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D183B, 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 #0D183B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.34:1 | Pass | Pass | Pass |
| #0D183B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.34: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 #0D183B looks to people with the most common types of color vision deficiency.
#041d3cProtanopia
no red cones#00183aDeuteranopia
no green cones#002026Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #0d183b; }
.text { color: #0d183b; }
.border { border: 2px solid #0d183b; }
.transparent { background-color: rgb(13 24 59 / 50%); }
.gradient { background: linear-gradient(to right, #0d183b, #190d3b); }
Similar colors
#161d3bNightwalker#071037Infinite Night#041330Squid’s Ink#112244Dark Eclipse#060929Mysterious Depths#151931Dark Knight#1c1e4dFly-by-Night#222244Black Market
Closest common color name: Oxford Blue.
Questions
- What color is #0D183B?
- #0D183B is a very dark, moderate blue, closest to the named color Nightwalker. It belongs to the black family of colors.
- What is the RGB value of #0D183B?
- The RGB value is 13, 24, 59: 13 red, 24 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #0D183B?
- The complementary color is #3B300D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D183B?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.34:1. WCAG asks for at least 4.5:1 for normal text.