#24303B color
The hex color #24303B is a very dark, grayish azure.
In the RGB color model it is made of 14.1% red, 18.8% green and 23.1% blue (36, 48, 59).
Its hue angle is 209°, with 24% saturation and 19% lightness. For print, the CMYK equivalent is 39% cyan, 19% magenta, 0% yellow and 77% black.
The closest named color is Blue Whale (#1E3442), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.45:1).
#24303B color codes
| HEX | #24303B | |
|---|---|---|
| RGB | rgb(36, 48, 59) | |
| RGB percent | rgb(14.1%, 18.8%, 23.1%) | |
| HSL | hsl(209, 24%, 19%) | |
| HSV / HSB | hsv(209, 39%, 23%) | |
| CMYK | cmyk(39%, 19%, 0%, 77%) | |
| CIE LAB | lab(19.24, -1.77, -8.6) | |
| CIE LCH | lch(19.24, 8.78, 258.38) | |
| CIE XYZ | xyz(2.574, 2.805, 4.543) | |
| Decimal | 2371643 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24303B, 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 #24303B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.45:1 | Pass | Pass | Pass |
| #24303B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.45:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #24303B looks to people with the most common types of color vision deficiency.
#2c303cProtanopia
no red cones#292e3bDeuteranopia
no green cones#1d3334Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #24303b; }
.text { color: #24303b; }
.border { border: 2px solid #24303b; }
.transparent { background-color: rgb(36 48 59 / 50%); }
.gradient { background: linear-gradient(to right, #24303b, #24253b); }
Similar colors
#1e3442Blue Whale#243640Petrol Slumber#222831Infinity#172b36Oceanic Noir#2a3439Gunmetal#293135Nightmare Fuel#303a40Tempest in a Teapot#1e272cBlack Pearl
Questions
- What color is #24303B?
- #24303B is a very dark, grayish azure, closest to the named color Blue Whale. It belongs to the black family of colors.
- What is the RGB value of #24303B?
- The RGB value is 36, 48, 59: 36 red, 48 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #24303B?
- The complementary color is #3B2F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24303B?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.45:1. WCAG asks for at least 4.5:1 for normal text.