#24252F color
The hex color #24252F is a very dark, grayish blue.
In the RGB color model it is made of 14.1% red, 14.5% green and 18.4% blue (36, 37, 47).
Its hue angle is 235°, with 13% saturation and 16% lightness. For print, the CMYK equivalent is 23% cyan, 21% magenta, 0% yellow and 82% black.
The closest named color is Haiti (#2C2A35), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.21:1).
#24252F color codes
| HEX | #24252F | |
|---|---|---|
| RGB | rgb(36, 37, 47) | |
| RGB percent | rgb(14.1%, 14.5%, 18.4%) | |
| HSL | hsl(235, 13%, 16%) | |
| HSV / HSB | hsv(235, 23%, 18%) | |
| CMYK | cmyk(23%, 21%, 0%, 82%) | |
| CIE LAB | lab(14.97, 2.25, -6.71) | |
| CIE LCH | lch(14.97, 7.08, 288.53) | |
| CIE XYZ | xyz(1.902, 1.903, 2.956) | |
| Decimal | 2368815 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24252F, 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 #24252F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.21:1 | Pass | Pass | Pass |
| #24252F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.21: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 #24252F looks to people with the most common types of color vision deficiency.
#22262fProtanopia
no red cones#22252fDeuteranopia
no green cones#222728Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #24252f; }
.text { color: #24252f; }
.border { border: 2px solid #24252f; }
.transparent { background-color: rgb(36 37 47 / 50%); }
.gradient { background: linear-gradient(to right, #24252f, #28242f); }
Similar colors
#2c2a35Haiti#29292fJaguar#1e2433Moonless Mystery#28282dAnthracite#27252aDarth Vader#292b31Night Sky#222831Infinity#1b2431Dark
Closest common color name: Jet Black.
Questions
- What color is #24252F?
- #24252F is a very dark, grayish blue, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #24252F?
- The RGB value is 36, 37, 47: 36 red, 37 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #24252F?
- The complementary color is #2F2E24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24252F?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.21:1. WCAG asks for at least 4.5:1 for normal text.