Petrol Slumber color: hex code #243640
Petrol Slumber has the hex code #243640. It is a very dark, desaturated azure.
In the RGB color model it is made of 14.1% red, 21.2% green and 25.1% blue (36, 54, 64).
Its hue angle is 201°, with 28% saturation and 20% lightness. For print, the CMYK equivalent is 44% cyan, 16% magenta, 0% yellow and 75% black.
White text is the more readable choice on this background (contrast 12.52:1).
Petrol Slumber (#243640) color codes
| HEX | #243640 | |
|---|---|---|
| RGB | rgb(36, 54, 64) | |
| RGB percent | rgb(14.1%, 21.2%, 25.1%) | |
| HSL | hsl(201, 28%, 20%) | |
| HSV / HSB | hsv(201, 44%, 25%) | |
| CMYK | cmyk(44%, 16%, 0%, 75%) | |
| CIE LAB | lab(21.52, -4.2, -8.55) | |
| CIE LCH | lch(21.52, 9.52, 243.85) | |
| CIE XYZ | xyz(2.972, 3.383, 5.346) | |
| Decimal | 2373184 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Petrol Slumber, 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 #243640 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.52:1 | Pass | Pass | Pass |
| #243640 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.52:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #243640 looks to people with the most common types of color vision deficiency.
#313541Protanopia
no red cones#2d3240Deuteranopia
no green cones#1a3939Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #243640; }
.text { color: #243640; }
.border { border: 2px solid #243640; }
.transparent { background-color: rgb(36 54 64 / 50%); }
.gradient { background: linear-gradient(to right, #243640, #242840); }
Similar colors
#1e3642Into the Night#1e3442Blue Whale#203943Astral Nomad#2a3439Gunmetal#303a40Tempest in a Teapot#172b36Oceanic Noir#253f4eDepths of the Nile#293135Nightmare Fuel
See #243640 on its hex code page
Questions
- What color is #243640?
- #243640 is a very dark, desaturated azure known as Petrol Slumber. It belongs to the gray family of colors.
- What is the RGB value of Petrol Slumber?
- The RGB value is 36, 54, 64: 36 red, 54 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of Petrol Slumber?
- The complementary color is #402E24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #243640?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.52:1. WCAG asks for at least 4.5:1 for normal text.