#282527 color
The hex color #282527 is a dark gray.
In the RGB color model it is made of 15.7% red, 14.5% green and 15.3% blue (40, 37, 39).
Its hue angle is 320°, with 4% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 2% yellow and 84% black.
The closest named color is Darth Vader (#27252A), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.17:1).
#282527 color codes
| HEX | #282527 | |
|---|---|---|
| RGB | rgb(40, 37, 39) | |
| RGB percent | rgb(15.7%, 14.5%, 15.3%) | |
| HSL | hsl(320, 4%, 15%) | |
| HSV / HSB | hsv(320, 7%, 16%) | |
| CMYK | cmyk(0%, 7%, 2%, 84%) | |
| CIE LAB | lab(15.07, 1.86, -0.83) | |
| CIE LCH | lch(15.07, 2.04, 336.08) | |
| CIE XYZ | xyz(1.903, 1.921, 2.19) | |
| Decimal | 2630951 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282527, 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 #282527 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.17:1 | Pass | Pass | Pass |
| #282527 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.17:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #282527 looks to people with the most common types of color vision deficiency.
#252627Protanopia
no red cones#262627Deuteranopia
no green cones#282526Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #282527; }
.text { color: #282527; }
.border { border: 2px solid #282527; }
.transparent { background-color: rgb(40 37 39 / 50%); }
.gradient { background: linear-gradient(to right, #282527, #282526); }
Similar colors
#27252aDarth Vader#241f20Velvet Black#211e1fUmbra#252024Ink Black#28282dAnthracite#252525Nero#282828Dire Wolf#232323Young Night
Closest common color name: Jet Black.
Questions
- What color is #282527?
- #282527 is a dark gray, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #282527?
- The RGB value is 40, 37, 39: 40 red, 37 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #282527?
- The complementary color is #252826, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282527?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.17:1. WCAG asks for at least 4.5:1 for normal text.