Petrol Slumber
Petrol Slumber is a very dark, muted blue color with the hex code #243640 (hue 201°, saturation 28%, lightness 20%).
- HEX
#243640 - RGB
rgb(36 54 64) - HSL
hsl(201 28% 20%) - OKLCH
oklch(32.2% 0.029 233)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Petrol Slumber | #243640 | 36, 54, 64 | 201°, 28%, 20% | 44, 16, 0, 75 | 32.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.
- HEX
#243640 - RGB
rgb(36 54 64) - HSL
hsl(201 28% 20%)
Variations of Petrol Slumber
Text on Petrol Slumber
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
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
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.
- Petrol Slumber Complementary Color Scheme#243640#45657D#442D21#130D0D#805B48
- Petrol Slumber Analogous Color Scheme#274234#234537#243640#2A2B41#2D2541
- Petrol Slumber Triadic Color Scheme#243640#412533#37412A#486D83#150811
- Petrol Slumber Split-complementary Color Scheme#243640#43242A#423D27#0F1012#71424A
- Petrol Slumber Tetradic Color Scheme#243640#3B2741#442D21#37412A#486D83
- Petrol Slumber Monochromatic Color Scheme#0F1012#0F1012#243640#435A6F#5789A5
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Petrol Slumber (relative luminance 0.068 vs 0.034) and equally saturated, with its hue 21° away. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Petrol Slumber (relative luminance 0.021 vs 0.034) and more saturated, with its hue 39° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Petrol Slumber (relative luminance 0.066 vs 0.034) and more saturated, with its hue 47° away. - Navy (
navy): Navy (#000080) is darker than Petrol Slumber (relative luminance 0.016 vs 0.034) and more saturated, with its hue 39° away.
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark#1B2431
- Dark Eclipse#112244
- Dark Knight#151931
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
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.