Petrol Slumber color: hex code #243640

#243640 rgb(36, 54, 64)
Shades of gray

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
RGBrgb(36, 54, 64)
RGB percentrgb(14.1%, 21.2%, 25.1%)
HSLhsl(201, 28%, 20%)
HSV / HSBhsv(201, 44%, 25%)
CMYKcmyk(44%, 16%, 0%, 75%)
CIE LABlab(21.52, -4.2, -8.55)
CIE LCHlch(21.52, 9.52, 243.85)
CIE XYZxyz(2.972, 3.383, 5.346)
Decimal2373184
Short hexNone (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 #243640RatioAAAAAAA large
Sample text1.68:1FailFailFail
Sample text12.52:1PassPassPass
#243640 as text onRatioAAAAAAA large
Sample text12.52:1PassPassPass
Sample text1.68:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.