#252431 color
The hex color #252431 is a very dark, grayish blue.
In the RGB color model it is made of 14.5% red, 14.1% green and 19.2% blue (37, 36, 49).
Its hue angle is 245°, with 15% saturation and 17% lightness. For print, the CMYK equivalent is 24% cyan, 27% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.27:1).
#252431 color codes
| HEX | #252431 | |
|---|---|---|
| RGB | rgb(37, 36, 49) | |
| RGB percent | rgb(14.5%, 14.1%, 19.2%) | |
| HSL | hsl(245, 15%, 17%) | |
| HSV / HSB | hsv(245, 27%, 19%) | |
| CMYK | cmyk(24%, 27%, 0%, 81%) | |
| CIE LAB | lab(14.83, 3.96, -8.34) | |
| CIE LCH | lch(14.83, 9.23, 295.39) | |
| CIE XYZ | xyz(1.948, 1.877, 3.165) | |
| Decimal | 2434097 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252431, 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 #252431 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.27:1 | Pass | Pass | Pass |
| #252431 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.27: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 #252431 looks to people with the most common types of color vision deficiency.
#212632Protanopia
no red cones#212531Deuteranopia
no green cones#222628Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #252431; }
.text { color: #252431; }
.border { border: 2px solid #252431; }
.transparent { background-color: rgb(37 36 49 / 50%); }
.gradient { background: linear-gradient(to right, #252431, #2c2431); }
Similar colors
#222233Black Velvet#2c2a35Haiti#1f2133Eclipse Elixir#1e2433Moonless Mystery#21263aMidnight Express#29292fJaguar#27252aDarth Vader#28282dAnthracite
Closest common color name: Jet Black.
Questions
- What color is #252431?
- #252431 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #252431?
- The RGB value is 37, 36, 49: 37 red, 36 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #252431?
- The complementary color is #303124, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252431?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.27:1. WCAG asks for at least 4.5:1 for normal text.