#0D0F27 color
The hex color #0D0F27 is a very dark, moderate blue.
In the RGB color model it is made of 5.1% red, 5.9% green and 15.3% blue (13, 15, 39).
Its hue angle is 235°, with 50% saturation and 10% lightness. For print, the CMYK equivalent is 67% cyan, 62% magenta, 0% yellow and 85% black.
The closest named color is Void (#050D25), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.84:1).
#0D0F27 color codes
| HEX | #0D0F27 | |
|---|---|---|
| RGB | rgb(13, 15, 39) | |
| RGB percent | rgb(5.1%, 5.9%, 15.3%) | |
| HSL | hsl(235, 50%, 10%) | |
| HSV / HSB | hsv(235, 67%, 15%) | |
| CMYK | cmyk(67%, 62%, 0%, 85%) | |
| CIE LAB | lab(5.18, 6.46, -16.19) | |
| CIE LCH | lch(5.18, 17.43, 291.75) | |
| CIE XYZ | xyz(0.703, 0.574, 1.993) | |
| Decimal | 855847 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D0F27, 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 #0D0F27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.84:1 | Pass | Pass | Pass |
| #0D0F27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.84:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #0D0F27 looks to people with the most common types of color vision deficiency.
#051228Protanopia
no red cones#031026Deuteranopia
no green cones#031419Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0d0f27; }
.text { color: #0d0f27; }
.border { border: 2px solid #0d0f27; }
.transparent { background-color: rgb(13 15 39 / 50%); }
.gradient { background: linear-gradient(to right, #0d0f27, #180d27); }
Similar colors
#050d25Void#060929Mysterious Depths#151931Dark Knight#111122Corbeau#041330Squid’s Ink#161d3bNightwalker#161e34Sombre Night#071037Infinite Night
Closest common color name: Oxford Blue.
Questions
- What color is #0D0F27?
- #0D0F27 is a very dark, moderate blue, closest to the named color Void. It belongs to the black family of colors.
- What is the RGB value of #0D0F27?
- The RGB value is 13, 15, 39: 13 red, 15 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #0D0F27?
- The complementary color is #27250D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D0F27?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.84:1. WCAG asks for at least 4.5:1 for normal text.