#0D1A30 color
The hex color #0D1A30 is a very dark, moderate azure.
In the RGB color model it is made of 5.1% red, 10.2% green and 18.8% blue (13, 26, 48).
Its hue angle is 218°, with 57% saturation and 12% lightness. For print, the CMYK equivalent is 73% cyan, 46% magenta, 0% yellow and 81% black.
The closest named color is Trapped Darkness (#0E1D32), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.39:1).
#0D1A30 color codes
| HEX | #0D1A30 | |
|---|---|---|
| RGB | rgb(13, 26, 48) | |
| RGB percent | rgb(5.1%, 10.2%, 18.8%) | |
| HSL | hsl(218, 57%, 12%) | |
| HSV / HSB | hsv(218, 73%, 19%) | |
| CMYK | cmyk(73%, 46%, 0%, 81%) | |
| CIE LAB | lab(9.3, 2.96, -16.38) | |
| CIE LCH | lch(9.3, 16.64, 280.24) | |
| CIE XYZ | xyz(1.069, 1.038, 2.94) | |
| Decimal | 858672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D1A30, 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 #0D1A30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.39:1 | Pass | Pass | Pass |
| #0D1A30 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 #0D1A30 looks to people with the most common types of color vision deficiency.
#111c31Protanopia
no red cones#0c1930Deuteranopia
no green cones#001f22Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #0d1a30; }
.text { color: #0d1a30; }
.border { border: 2px solid #0d1a30; }
.transparent { background-color: rgb(13 26 48 / 50%); }
.gradient { background: linear-gradient(to right, #0d1a30, #120d30); }
Similar colors
#0e1d32Trapped Darkness#161e34Sombre Night#011c39Naval Night#050d25Void#041330Squid’s Ink#151931Dark Knight#001f3fMidnight Mirage#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #0D1A30?
- #0D1A30 is a very dark, moderate azure, closest to the named color Trapped Darkness. It belongs to the black family of colors.
- What is the RGB value of #0D1A30?
- The RGB value is 13, 26, 48: 13 red, 26 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #0D1A30?
- The complementary color is #30230D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D1A30?
- 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.