#0A123E color
The hex color #0A123E is a very dark, moderate blue.
In the RGB color model it is made of 3.9% red, 7.1% green and 24.3% blue (10, 18, 62).
Its hue angle is 231°, with 72% saturation and 14% lightness. For print, the CMYK equivalent is 84% cyan, 71% magenta, 0% yellow and 76% black.
The closest named color is Infinite Night (#071037), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.96:1).
#0A123E color codes
| HEX | #0A123E | |
|---|---|---|
| RGB | rgb(10, 18, 62) | |
| RGB percent | rgb(3.9%, 7.1%, 24.3%) | |
| HSL | hsl(231, 72%, 14%) | |
| HSV / HSB | hsv(231, 84%, 24%) | |
| CMYK | cmyk(84%, 71%, 0%, 76%) | |
| CIE LAB | lab(7.63, 14.91, -29.19) | |
| CIE LCH | lch(7.63, 32.78, 297.06) | |
| CIE XYZ | xyz(1.211, 0.845, 4.656) | |
| Decimal | 660030 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A123E, 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 #0A123E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.96:1 | Pass | Pass | Pass |
| #0A123E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.96:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #0A123E looks to people with the most common types of color vision deficiency.
#00193fProtanopia
no red cones#00143dDeuteranopia
no green cones#001d25Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #0a123e; }
.text { color: #0a123e; }
.border { border: 2px solid #0a123e; }
.transparent { background-color: rgb(10 18 62 / 50%); }
.gradient { background: linear-gradient(to right, #0a123e, #1c0a3e); }
Similar colors
#071037Infinite Night#111144Deadly Depths#000435Oblivion#000b44Storm#00022eIllicit Darkness#03012dMidnight#1c1e4dFly-by-Night#211d49Azulado
Closest common color name: Oxford Blue.
Questions
- What color is #0A123E?
- #0A123E is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #0A123E?
- The RGB value is 10, 18, 62: 10 red, 18 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #0A123E?
- The complementary color is #3E360A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A123E?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.96:1. WCAG asks for at least 4.5:1 for normal text.