#0A1B34 color
The hex color #0A1B34 is a very dark, moderate azure.
In the RGB color model it is made of 3.9% red, 10.6% green and 20.4% blue (10, 27, 52).
Its hue angle is 216°, with 68% saturation and 12% lightness. For print, the CMYK equivalent is 81% cyan, 48% magenta, 0% yellow and 80% black.
The closest named color is Trapped Darkness (#0E1D32), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.22:1).
#0A1B34 color codes
| HEX | #0A1B34 | |
|---|---|---|
| RGB | rgb(10, 27, 52) | |
| RGB percent | rgb(3.9%, 10.6%, 20.4%) | |
| HSL | hsl(216, 68%, 12%) | |
| HSV / HSB | hsv(216, 81%, 20%) | |
| CMYK | cmyk(81%, 48%, 0%, 80%) | |
| CIE LAB | lab(9.77, 3.27, -18.55) | |
| CIE LCH | lch(9.77, 18.84, 280) | |
| CIE XYZ | xyz(1.137, 1.096, 3.4) | |
| Decimal | 662324 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A1B34, 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 #0A1B34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.22:1 | Pass | Pass | Pass |
| #0A1B34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.22:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #0A1B34 looks to people with the most common types of color vision deficiency.
#0f1d35Protanopia
no red cones#091933Deuteranopia
no green cones#002124Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #0a1b34; }
.text { color: #0a1b34; }
.border { border: 2px solid #0a1b34; }
.transparent { background-color: rgb(10 27 52 / 50%); }
.gradient { background: linear-gradient(to right, #0a1b34, #0e0a34); }
Similar colors
#0e1d32Trapped Darkness#011c39Naval Night#161e34Sombre Night#001f3fMidnight Mirage#041330Squid’s Ink#112244Dark Eclipse#161d3bNightwalker#050d25Void
Closest common color name: Oxford Blue.
Questions
- What color is #0A1B34?
- #0A1B34 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 #0A1B34?
- The RGB value is 10, 27, 52: 10 red, 27 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #0A1B34?
- The complementary color is #34230A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A1B34?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.22:1. WCAG asks for at least 4.5:1 for normal text.