#0A2227 color
The hex color #0A2227 is a very dark, moderate cyan.
In the RGB color model it is made of 3.9% red, 13.3% green and 15.3% blue (10, 34, 39).
Its hue angle is 190°, with 59% saturation and 10% lightness. For print, the CMYK equivalent is 74% cyan, 13% magenta, 0% yellow and 85% black.
The closest named color is Sunken Ship (#10252A), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.52:1).
#0A2227 color codes
| HEX | #0A2227 | |
|---|---|---|
| RGB | rgb(10, 34, 39) | |
| RGB percent | rgb(3.9%, 13.3%, 15.3%) | |
| HSL | hsl(190, 59%, 10%) | |
| HSV / HSB | hsv(190, 74%, 15%) | |
| CMYK | cmyk(74%, 13%, 0%, 85%) | |
| CIE LAB | lab(11.65, -7.38, -6.16) | |
| CIE LCH | lch(11.65, 9.61, 219.88) | |
| CIE XYZ | xyz(1.063, 1.355, 2.125) | |
| Decimal | 664103 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A2227, 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 #0A2227 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.52:1 | Pass | Pass | Pass |
| #0A2227 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.52:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #0A2227 looks to people with the most common types of color vision deficiency.
#1e2127Protanopia
no red cones#1a1d27Deuteranopia
no green cones#002424Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #0a2227; }
.text { color: #0a2227; }
.border { border: 2px solid #0a2227; }
.transparent { background-color: rgb(10 34 39 / 50%); }
.gradient { background: linear-gradient(to right, #0a2227, #0a1327); }
Similar colors
#10252aSunken Ship#0f282fBlack Box#0e191cBlack Stallion#162825Swamp Thing#172b36Oceanic Noir#133337Elite Teal#1e272cBlack Pearl#002233Midnight Dreams
Closest common color name: Gunmetal.
Questions
- What color is #0A2227?
- #0A2227 is a very dark, moderate cyan, closest to the named color Sunken Ship. It belongs to the black family of colors.
- What is the RGB value of #0A2227?
- The RGB value is 10, 34, 39: 10 red, 34 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #0A2227?
- The complementary color is #270F0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A2227?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.52:1. WCAG asks for at least 4.5:1 for normal text.