#0A181F color
The hex color #0A181F is a very dark, moderate azure.
In the RGB color model it is made of 3.9% red, 9.4% green and 12.2% blue (10, 24, 31).
Its hue angle is 200°, with 51% saturation and 8% lightness. For print, the CMYK equivalent is 68% cyan, 23% magenta, 0% yellow and 88% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.05:1).
#0A181F color codes
| HEX | #0A181F | |
|---|---|---|
| RGB | rgb(10, 24, 31) | |
| RGB percent | rgb(3.9%, 9.4%, 12.2%) | |
| HSL | hsl(200, 51%, 8%) | |
| HSV / HSB | hsv(200, 68%, 12%) | |
| CMYK | cmyk(68%, 23%, 0%, 88%) | |
| CIE LAB | lab(7.38, -3.16, -6.74) | |
| CIE LCH | lch(7.38, 7.44, 244.86) | |
| CIE XYZ | xyz(0.699, 0.817, 1.417) | |
| Decimal | 661535 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A181F, 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 #0A181F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.05:1 | Pass | Pass | Pass |
| #0A181F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.05:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #0A181F looks to people with the most common types of color vision deficiency.
#15181fProtanopia
no red cones#12151fDeuteranopia
no green cones#021a1aTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #0a181f; }
.text { color: #0a181f; }
.border { border: 2px solid #0a181f; }
.transparent { background-color: rgb(10 24 31 / 50%); }
.gradient { background: linear-gradient(to right, #0a181f, #0a0d1f); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#0c121bMidnight Edition#1e272cBlack Pearl#060b14Dark Rift#10252aSunken Ship#1c1e21Satin Deep Black
Questions
- What color is #0A181F?
- #0A181F is a very dark, moderate azure, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #0A181F?
- The RGB value is 10, 24, 31: 10 red, 24 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #0A181F?
- The complementary color is #1F110A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A181F?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.05:1. WCAG asks for at least 4.5:1 for normal text.