#0D0F30 color
The hex color #0D0F30 is a very dark, moderate blue.
In the RGB color model it is made of 5.1% red, 5.9% green and 18.8% blue (13, 15, 48).
Its hue angle is 237°, with 57% saturation and 12% lightness. For print, the CMYK equivalent is 73% cyan, 69% magenta, 0% yellow and 81% black.
The closest named color is Mysterious Depths (#060929), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.61:1).
#0D0F30 color codes
| HEX | #0D0F30 | |
|---|---|---|
| RGB | rgb(13, 15, 48) | |
| RGB percent | rgb(5.1%, 5.9%, 18.8%) | |
| HSL | hsl(237, 57%, 12%) | |
| HSV / HSB | hsv(237, 73%, 19%) | |
| CMYK | cmyk(73%, 69%, 0%, 81%) | |
| CIE LAB | lab(5.79, 10.69, -21.98) | |
| CIE LCH | lch(5.79, 24.45, 295.94) | |
| CIE XYZ | xyz(0.87, 0.641, 2.874) | |
| Decimal | 855856 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D0F30, 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 #0D0F30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.61:1 | Pass | Pass | Pass |
| #0D0F30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.61:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #0D0F30 looks to people with the most common types of color vision deficiency.
#001431Protanopia
no red cones#00112fDeuteranopia
no green cones#00171dTritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #0d0f30; }
.text { color: #0d0f30; }
.border { border: 2px solid #0d0f30; }
.transparent { background-color: rgb(13 15 48 / 50%); }
.gradient { background: linear-gradient(to right, #0d0f30, #1c0d30); }
Similar colors
#060929Mysterious Depths#071037Infinite Night#03012dMidnight#00022eIllicit Darkness#041330Squid’s Ink#000435Oblivion#161d3bNightwalker#151931Dark Knight
Closest common color name: Oxford Blue.
Questions
- What color is #0D0F30?
- #0D0F30 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 #0D0F30?
- The RGB value is 13, 15, 48: 13 red, 15 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #0D0F30?
- The complementary color is #302E0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D0F30?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.61:1. WCAG asks for at least 4.5:1 for normal text.