Huebook

Petrol Slumber

Petrol Slumber is a very dark, muted blue color with the hex code #243640 (hue 201°, saturation 28%, lightness 20%).

#243640
NameHEXRGBHSLCMYKOKLCH
Petrol Slumber#24364036, 54, 64201°, 28%, 20%44, 16, 0, 7532.2% 0.029 233

Contrast with white text 12.52:1, with black text 1.68:1 — use white text on Petrol Slumber.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Petrol Slumber

Move the sliders to make Petrol Slumber lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Petrol Slumber
  • HEX#243640
  • RGBrgb(36 54 64)
  • HSLhsl(201 28% 20%)

Variations of Petrol Slumber

Text on Petrol Slumber

White textThe quick brown fox12.52:1 · AA pass · AAA pass
Black textThe quick brown fox1.68:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Petrol Slumber with color blindness

Normal #243640
Protanopia #313541
Deuteranopia #2D3240
Tritanopia #1A3939

How Petrol Slumber appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#DEE8ED
#ADC4D1
#7CA1B6
#537C93
#375362
#1C2931

Colors that go with Petrol Slumber

Six color schemes built on Petrol Slumber with classic harmony rules. The complementary scheme pairs it with Morocco Brown (#442D21), the color opposite it on the color wheel.

Nearest CSS named colors

Similar very dark blue colors

Questions

What is the hex code for Petrol Slumber?

#243640 — RGB 36, 54, 64, HSL 201°, 28%, 20%.

Is Petrol Slumber a warm or cool color?

Cool — its hue sits at 201° on the color wheel.