#262C28 color
The hex color #262C28 is a dark gray.
In the RGB color model it is made of 14.9% red, 17.3% green and 15.7% blue (38, 44, 40).
Its hue angle is 140°, with 7% saturation and 16% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 9% yellow and 83% black.
The closest named color is Terminal Black (#2B322D), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.25:1).
#262C28 color codes
| HEX | #262C28 | |
|---|---|---|
| RGB | rgb(38, 44, 40) | |
| RGB percent | rgb(14.9%, 17.3%, 15.7%) | |
| HSL | hsl(140, 7%, 16%) | |
| HSV / HSB | hsv(140, 14%, 17%) | |
| CMYK | cmyk(14%, 0%, 9%, 83%) | |
| CIE LAB | lab(17.3, -3.63, 1.7) | |
| CIE LCH | lch(17.3, 4.01, 154.86) | |
| CIE XYZ | xyz(2.083, 2.367, 2.354) | |
| Decimal | 2501672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262C28, 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 #262C28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.25:1 | Pass | Pass | Pass |
| #262C28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.25:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #262C28 looks to people with the most common types of color vision deficiency.
#2c2b28Protanopia
no red cones#2b2a28Deuteranopia
no green cones#252c2bTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #262c28; }
.text { color: #262c28; }
.border { border: 2px solid #262c28; }
.transparent { background-color: rgb(38 44 40 / 50%); }
.gradient { background: linear-gradient(to right, #262c28, #262c2b); }
Similar colors
#2b322dTerminal Black#262926Bitter Liquorice#2b2e26Marshland#293432Aztec#1e231cUnderworld#313330Oil#262a2bGraphite Black#2f3434Phantom Ship
Closest common color name: Onyx.
Questions
- What color is #262C28?
- #262C28 is a dark gray, closest to the named color Terminal Black. It belongs to the black family of colors.
- What is the RGB value of #262C28?
- The RGB value is 38, 44, 40: 38 red, 44 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #262C28?
- The complementary color is #2C262A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262C28?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.25:1. WCAG asks for at least 4.5:1 for normal text.