#24253E color
The hex color #24253E is a very dark, desaturated blue.
In the RGB color model it is made of 14.1% red, 14.5% green and 24.3% blue (36, 37, 62).
Its hue angle is 238°, with 27% saturation and 19% lightness. For print, the CMYK equivalent is 42% cyan, 40% magenta, 0% yellow and 76% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.9:1).
#24253E color codes
| HEX | #24253E | |
|---|---|---|
| RGB | rgb(36, 37, 62) | |
| RGB percent | rgb(14.1%, 14.5%, 24.3%) | |
| HSL | hsl(238, 27%, 19%) | |
| HSV / HSB | hsv(238, 42%, 24%) | |
| CMYK | cmyk(42%, 40%, 0%, 76%) | |
| CIE LAB | lab(15.73, 6.99, -16.11) | |
| CIE LCH | lch(15.73, 17.56, 293.46) | |
| CIE XYZ | xyz(2.258, 2.046, 4.832) | |
| Decimal | 2368830 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24253E, 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 #24253E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.9:1 | Pass | Pass | Pass |
| #24253E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.9:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #24253E looks to people with the most common types of color vision deficiency.
#1d283fProtanopia
no red cones#1c263dDeuteranopia
no green cones#1d2a2eTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #24253e; }
.text { color: #24253e; }
.border { border: 2px solid #24253e; }
.transparent { background-color: rgb(36 37 62 / 50%); }
.gradient { background: linear-gradient(to right, #24253e, #30243e); }
Similar colors
#2c2e47Midnight Masquerade#21263aMidnight Express#1f2133Eclipse Elixir#222244Black Market#222233Black Velvet#161d3bNightwalker#151931Dark Knight#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #24253E?
- #24253E is a very dark, desaturated blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #24253E?
- The RGB value is 36, 37, 62: 36 red, 37 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #24253E?
- The complementary color is #3E3D24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24253E?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.9:1. WCAG asks for at least 4.5:1 for normal text.