#24282F color
The hex color #24282F is a very dark, grayish azure.
In the RGB color model it is made of 14.1% red, 15.7% green and 18.4% blue (36, 40, 47).
Its hue angle is 218°, with 13% saturation and 16% lightness. For print, the CMYK equivalent is 23% cyan, 15% magenta, 0% yellow and 82% black.
The closest named color is Infinity (#222831), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.79:1).
#24282F color codes
| HEX | #24282F | |
|---|---|---|
| RGB | rgb(36, 40, 47) | |
| RGB percent | rgb(14.1%, 15.7%, 18.4%) | |
| HSL | hsl(218, 13%, 16%) | |
| HSV / HSB | hsv(218, 23%, 18%) | |
| CMYK | cmyk(23%, 15%, 0%, 82%) | |
| CIE LAB | lab(15.99, 0.12, -5.17) | |
| CIE LCH | lch(15.99, 5.17, 271.37) | |
| CIE XYZ | xyz(1.999, 2.098, 2.988) | |
| Decimal | 2369583 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24282F, 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 #24282F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.79:1 | Pass | Pass | Pass |
| #24282F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.79:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #24282F looks to people with the most common types of color vision deficiency.
#26282fProtanopia
no red cones#25272fDeuteranopia
no green cones#21292aTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #24282f; }
.text { color: #24282f; }
.border { border: 2px solid #24282f; }
.transparent { background-color: rgb(36 40 47 / 50%); }
.gradient { background: linear-gradient(to right, #24282f, #26242f); }
Similar colors
#222831Infinity#292b31Night Sky#28282dAnthracite#29292fJaguar#2b2c30Caviar#242a2eCinder#202124Noble Black#1e272cBlack Pearl
Closest common color name: Gunmetal.
Questions
- What color is #24282F?
- #24282F is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #24282F?
- The RGB value is 36, 40, 47: 36 red, 40 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #24282F?
- The complementary color is #2F2B24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24282F?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.79:1. WCAG asks for at least 4.5:1 for normal text.