#242D31 color
The hex color #242D31 is a very dark, grayish azure.
In the RGB color model it is made of 14.1% red, 17.6% green and 19.2% blue (36, 45, 49).
Its hue angle is 198°, with 15% saturation and 17% lightness. For print, the CMYK equivalent is 27% cyan, 8% magenta, 0% yellow and 81% black.
The closest named color is Nightmare Fuel (#293135), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.05:1).
#242D31 color codes
| HEX | #242D31 | |
|---|---|---|
| RGB | rgb(36, 45, 49) | |
| RGB percent | rgb(14.1%, 17.6%, 19.2%) | |
| HSL | hsl(198, 15%, 17%) | |
| HSV / HSB | hsv(198, 27%, 19%) | |
| CMYK | cmyk(27%, 8%, 0%, 81%) | |
| CIE LAB | lab(17.8, -2.75, -3.87) | |
| CIE LCH | lch(17.8, 4.75, 234.53) | |
| CIE XYZ | xyz(2.22, 2.474, 3.266) | |
| Decimal | 2370865 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242D31, 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 #242D31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.05:1 | Pass | Pass | Pass |
| #242D31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.05:1 | Pass | Pass | Pass |
| Sample text | 1.49: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 #242D31 looks to people with the most common types of color vision deficiency.
#2b2c31Protanopia
no red cones#292b31Deuteranopia
no green cones#202e2eTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #242d31; }
.text { color: #242d31; }
.border { border: 2px solid #242d31; }
.transparent { background-color: rgb(36 45 49 / 50%); }
.gradient { background: linear-gradient(to right, #242d31, #242731); }
Similar colors
#293135Nightmare Fuel#242a2eCinder#1e272cBlack Pearl#2a3439Gunmetal#262a2bGraphite Black#2f3434Phantom Ship#303a40Tempest in a Teapot#222831Infinity
Questions
- What color is #242D31?
- #242D31 is a very dark, grayish azure, closest to the named color Nightmare Fuel. It belongs to the black family of colors.
- What is the RGB value of #242D31?
- The RGB value is 36, 45, 49: 36 red, 45 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #242D31?
- The complementary color is #312824, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242D31?
- White text. Black text has a contrast ratio of 1.49:1 and white text 14.05:1. WCAG asks for at least 4.5:1 for normal text.