#0A0628 color
The hex color #0A0628 is a very dark, moderate blue.
In the RGB color model it is made of 3.9% red, 2.4% green and 15.7% blue (10, 6, 40).
Its hue angle is 247°, with 74% saturation and 9% lightness. For print, the CMYK equivalent is 75% cyan, 85% magenta, 0% yellow and 84% black.
The closest named color is Mysterious Depths (#060929), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.63:1).
#0A0628 color codes
| HEX | #0A0628 | |
|---|---|---|
| RGB | rgb(10, 6, 40) | |
| RGB percent | rgb(3.9%, 2.4%, 15.7%) | |
| HSL | hsl(247, 74%, 9%) | |
| HSV / HSB | hsv(247, 85%, 16%) | |
| CMYK | cmyk(75%, 85%, 0%, 84%) | |
| CIE LAB | lab(3.14, 9.93, -20.15) | |
| CIE LCH | lch(3.14, 22.46, 296.24) | |
| CIE XYZ | xyz(0.573, 0.348, 2.044) | |
| Decimal | 656936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A0628, 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 #0A0628 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.63:1 | Pass | Pass | Pass |
| #0A0628 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.63:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #0A0628 looks to people with the most common types of color vision deficiency.
#000d29Protanopia
no red cones#000a27Deuteranopia
no green cones#000f15Tritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #0a0628; }
.text { color: #0a0628; }
.border { border: 2px solid #0a0628; }
.transparent { background-color: rgb(10 6 40 / 50%); }
.gradient { background: linear-gradient(to right, #0a0628, #1b0628); }
Similar colors
#060929Mysterious Depths#03012dMidnight#00022eIllicit Darkness#071037Infinite Night#041330Squid’s Ink#050d25Void#000435Oblivion#151931Dark Knight
Closest common color name: Oxford Blue.
Questions
- What color is #0A0628?
- #0A0628 is a very dark, moderate blue, closest to the named color Mysterious Depths. It belongs to the black family of colors.
- What is the RGB value of #0A0628?
- The RGB value is 10, 6, 40: 10 red, 6 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #0A0628?
- The complementary color is #242806, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A0628?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.63:1. WCAG asks for at least 4.5:1 for normal text.