#24283B color
The hex color #24283B is a very dark, grayish blue.
In the RGB color model it is made of 14.1% red, 15.7% green and 23.1% blue (36, 40, 59).
Its hue angle is 230°, with 24% saturation and 19% lightness. For print, the CMYK equivalent is 39% cyan, 32% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.57:1).
#24283B color codes
| HEX | #24283B | |
|---|---|---|
| RGB | rgb(36, 40, 59) | |
| RGB percent | rgb(14.1%, 15.7%, 23.1%) | |
| HSL | hsl(230, 24%, 19%) | |
| HSV / HSB | hsv(230, 39%, 23%) | |
| CMYK | cmyk(39%, 32%, 0%, 77%) | |
| CIE LAB | lab(16.54, 3.83, -12.74) | |
| CIE LCH | lch(16.54, 13.31, 286.72) | |
| CIE XYZ | xyz(2.276, 2.208, 4.443) | |
| Decimal | 2369595 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24283B, 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 #24283B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.57:1 | Pass | Pass | Pass |
| #24283B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.57:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #24283B looks to people with the most common types of color vision deficiency.
#222a3cProtanopia
no red cones#20283bDeuteranopia
no green cones#1e2c2fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #24283b; }
.text { color: #24283b; }
.border { border: 2px solid #24283b; }
.transparent { background-color: rgb(36 40 59 / 50%); }
.gradient { background: linear-gradient(to right, #24283b, #2c243b); }
Similar colors
#21263aMidnight Express#1f2133Eclipse Elixir#222233Black Velvet#1e2433Moonless Mystery#1c2841Eternal Darkness#2c2e47Midnight Masquerade#161e34Sombre Night#333344Shuriken
Closest common color name: Oxford Blue.
Questions
- What color is #24283B?
- #24283B is a very dark, grayish blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
- What is the RGB value of #24283B?
- The RGB value is 36, 40, 59: 36 red, 40 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #24283B?
- The complementary color is #3B3724, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24283B?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.57:1. WCAG asks for at least 4.5:1 for normal text.