#0A2340 color
The hex color #0A2340 is a very dark, moderate azure.
In the RGB color model it is made of 3.9% red, 13.7% green and 25.1% blue (10, 35, 64).
Its hue angle is 212°, with 73% saturation and 15% lightness. For print, the CMYK equivalent is 84% cyan, 45% magenta, 0% yellow and 75% black.
The closest named color is Midnight Mirage (#001F3F), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.82:1).
#0A2340 color codes
| HEX | #0A2340 | |
|---|---|---|
| RGB | rgb(10, 35, 64) | |
| RGB percent | rgb(3.9%, 13.7%, 25.1%) | |
| HSL | hsl(212, 73%, 15%) | |
| HSV / HSB | hsv(212, 84%, 25%) | |
| CMYK | cmyk(84%, 45%, 0%, 75%) | |
| CIE LAB | lab(13.45, 2.55, -21.21) | |
| CIE LCH | lch(13.45, 21.37, 276.86) | |
| CIE XYZ | xyz(1.651, 1.637, 5.078) | |
| Decimal | 664384 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A2340, 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 #0A2340 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.82:1 | Pass | Pass | Pass |
| #0A2340 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.82:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #0A2340 looks to people with the most common types of color vision deficiency.
#152541Protanopia
no red cones#0d203fDeuteranopia
no green cones#002a2eTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #0a2340; }
.text { color: #0a2340; }
.border { border: 2px solid #0a2340; }
.transparent { background-color: rgb(10 35 64 / 50%); }
.gradient { background: linear-gradient(to right, #0a2340, #0c0a40); }
Similar colors
#001f3fMidnight Mirage#011c39Naval Night#002147Oxford Blue#112244Dark Eclipse#1c2841Eternal Darkness#0f2d4dMidnight Ocean#0e1d32Trapped Darkness#012253Subnautical
Questions
- What color is #0A2340?
- #0A2340 is a very dark, moderate azure, closest to the named color Midnight Mirage. It belongs to the blue family of colors.
- What is the RGB value of #0A2340?
- The RGB value is 10, 35, 64: 10 red, 35 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #0A2340?
- The complementary color is #40270A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A2340?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.82:1. WCAG asks for at least 4.5:1 for normal text.