#242A26 color
The hex color #242A26 is a dark gray.
In the RGB color model it is made of 14.1% red, 16.5% green and 14.9% blue (36, 42, 38).
Its hue angle is 140°, with 8% saturation and 15% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 10% yellow and 84% black.
The closest named color is Bitter Liquorice (#262926), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.64:1).
#242A26 color codes
| HEX | #242A26 | |
|---|---|---|
| RGB | rgb(36, 42, 38) | |
| RGB percent | rgb(14.1%, 16.5%, 14.9%) | |
| HSL | hsl(140, 8%, 15%) | |
| HSV / HSB | hsv(140, 14%, 16%) | |
| CMYK | cmyk(14%, 0%, 10%, 84%) | |
| CIE LAB | lab(16.36, -3.66, 1.72) | |
| CIE LCH | lch(16.36, 4.04, 154.83) | |
| CIE XYZ | xyz(1.905, 2.171, 2.152) | |
| Decimal | 2370086 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242A26, 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 #242A26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.64:1 | Pass | Pass | Pass |
| #242A26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.64:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #242A26 looks to people with the most common types of color vision deficiency.
#2a2926Protanopia
no red cones#292826Deuteranopia
no green cones#232a29Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #242a26; }
.text { color: #242a26; }
.border { border: 2px solid #242a26; }
.transparent { background-color: rgb(36 42 38 / 50%); }
.gradient { background: linear-gradient(to right, #242a26, #242a29); }
Similar colors
#262926Bitter Liquorice#2b322dTerminal Black#1e231cUnderworld#2b2e26Marshland#293432Aztec#262a2bGraphite Black#313330Oil#2f3434Phantom Ship
Closest common color name: Onyx.
Questions
- What color is #242A26?
- #242A26 is a dark gray, closest to the named color Bitter Liquorice. It belongs to the black family of colors.
- What is the RGB value of #242A26?
- The RGB value is 36, 42, 38: 36 red, 42 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #242A26?
- The complementary color is #2A2428, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242A26?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.64:1. WCAG asks for at least 4.5:1 for normal text.