#0D1A2A color
The hex color #0D1A2A is a very dark, moderate azure.
In the RGB color model it is made of 5.1% red, 10.2% green and 16.5% blue (13, 26, 42).
Its hue angle is 213°, with 53% saturation and 11% lightness. For print, the CMYK equivalent is 69% cyan, 38% magenta, 0% yellow and 84% black.
The closest named color is The Count’s Black (#102030), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.52:1).
#0D1A2A color codes
| HEX | #0D1A2A | |
|---|---|---|
| RGB | rgb(13, 26, 42) | |
| RGB percent | rgb(5.1%, 10.2%, 16.5%) | |
| HSL | hsl(213, 53%, 11%) | |
| HSV / HSB | hsv(213, 69%, 16%) | |
| CMYK | cmyk(69%, 38%, 0%, 84%) | |
| CIE LAB | lab(8.92, 0.41, -12.57) | |
| CIE LCH | lch(8.92, 12.58, 271.86) | |
| CIE XYZ | xyz(0.953, 0.991, 2.331) | |
| Decimal | 858666 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D1A2A, 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 #0D1A2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.52:1 | Pass | Pass | Pass |
| #0D1A2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.52:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #0D1A2A looks to people with the most common types of color vision deficiency.
#131b2bProtanopia
no red cones#10182aDeuteranopia
no green cones#001e20Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #0d1a2a; }
.text { color: #0d1a2a; }
.border { border: 2px solid #0d1a2a; }
.transparent { background-color: rgb(13 26 42 / 50%); }
.gradient { background: linear-gradient(to right, #0d1a2a, #0f0d2a); }
Similar colors
#102030The Count’s Black#0e1d32Trapped Darkness#001b2eOxford by Night#1b2431Dark#1e2433Moonless Mystery#0c121bMidnight Edition#161e34Sombre Night#011c39Naval Night
Closest common color name: Rich Black.
Questions
- What color is #0D1A2A?
- #0D1A2A is a very dark, moderate azure, closest to the named color The Count’s Black. It belongs to the black family of colors.
- What is the RGB value of #0D1A2A?
- The RGB value is 13, 26, 42: 13 red, 26 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #0D1A2A?
- The complementary color is #2A1D0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D1A2A?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.52:1. WCAG asks for at least 4.5:1 for normal text.