Oil
Oil is a very dark neutral gray color with the hex code #313330 (hue 100°, saturation 3%, lightness 19%).
- HEX
#313330 - RGB
rgb(49 51 48) - HSL
hsl(100 3% 19%) - OKLCH
oklch(31.8% 0.006 135)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Oil | #313330 | 49, 51, 48 | 100°, 3%, 19% | 4, 0, 6, 80 | 31.8% 0.006 135 |
Contrast with white text 12.75:1, with black text 1.65:1 — use white text on Oil.
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 Oil
Move the sliders to make Oil lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#313330 - RGB
rgb(49 51 48) - HSL
hsl(100 3% 19%)
Variations of Oil
Text on Oil
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.
Oil with color blindness
How Oil 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 Oil
Six color schemes built on Oil with classic harmony rules. The complementary scheme pairs it with Spinel Violet (#38283D), the color opposite it on the color wheel.
- Oil Complementary Color Scheme#313330#5B7349#38283D#0B0C14#724C7B
- Oil Analogous Color Scheme#3F3726#393D2A#313330#2C3D28#273F39
- Oil Triadic Color Scheme#313330#2A2E3F#3E2631#5F7F4B#0B0C14
- Oil Split-complementary Color Scheme#313330#272A3B#3A243B#12110E#4D426E
- Oil Tetradic Color Scheme#313330#273E3E#38283D#3E2B23#5F7F4B
- Oil Monochromatic Color Scheme#0F0F0F#0F0F0F#313330#555B53#7C817C
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Oil (relative luminance 0.068 vs 0.032) and more saturated. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Oil (relative luminance 0.021 vs 0.032) and more saturated. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Oil (relative luminance 0.066 vs 0.032) and more saturated. - Maroon (
maroon): Maroon (#800000) is lighter than Oil (relative luminance 0.046 vs 0.032) and more saturated.
Similar very dark gray colors
Questions
What is the hex code for Oil?
#313330 — RGB 49, 51, 48, HSL 100°, 3%, 19%.
Is Oil a warm or cool color?
Cool — its hue sits at 100° on the color wheel.