#0D2827 color
The hex color #0D2827 is a very dark, moderate cyan.
In the RGB color model it is made of 5.1% red, 15.7% green and 15.3% blue (13, 40, 39).
Its hue angle is 178°, with 51% saturation and 10% lightness. For print, the CMYK equivalent is 67% cyan, 0% magenta, 2% yellow and 84% black.
The closest named color is Swamp Thing (#162825), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.56:1).
#0D2827 color codes
| HEX | #0D2827 | |
|---|---|---|
| RGB | rgb(13, 40, 39) | |
| RGB percent | rgb(5.1%, 15.7%, 15.3%) | |
| HSL | hsl(178, 51%, 10%) | |
| HSV / HSB | hsv(178, 68%, 16%) | |
| CMYK | cmyk(67%, 0%, 2%, 84%) | |
| CIE LAB | lab(14.11, -10.51, -2.46) | |
| CIE LCH | lch(14.11, 10.79, 193.18) | |
| CIE XYZ | xyz(1.291, 1.75, 2.189) | |
| Decimal | 862247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D2827, 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 #0D2827 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.56:1 | Pass | Pass | Pass |
| #0D2827 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.56:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #0D2827 looks to people with the most common types of color vision deficiency.
#252627Protanopia
no red cones#212227Deuteranopia
no green cones#002928Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #0d2827; }
.text { color: #0d2827; }
.border { border: 2px solid #0d2827; }
.transparent { background-color: rgb(13 40 39 / 50%); }
.gradient { background: linear-gradient(to right, #0d2827, #0d1b28); }
Similar colors
#162825Swamp Thing#133337Elite Teal#10252aSunken Ship#0f282fBlack Box#293432Aztec#1c3b42Royal Neptune#1c3d44Sunken Harbour#0e191cBlack Stallion
Closest common color name: Gunmetal.
Questions
- What color is #0D2827?
- #0D2827 is a very dark, moderate cyan, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #0D2827?
- The RGB value is 13, 40, 39: 13 red, 40 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #0D2827?
- The complementary color is #280D0E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D2827?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.56:1. WCAG asks for at least 4.5:1 for normal text.