Huebook

Oil

Oil is a very dark neutral gray color with the hex code #313330 (hue 100°, saturation 3%, lightness 19%).

#313330
NameHEXRGBHSLCMYKOKLCH
Oil#31333049, 51, 48100°, 3%, 19%4, 0, 6, 8031.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.

Oil
  • HEX#313330
  • RGBrgb(49 51 48)
  • HSLhsl(100 3% 19%)

Variations of Oil

Text on Oil

White textThe quick brown fox12.75:1 · AA pass · AAA pass
Black textThe quick brown fox1.65: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.

Oil with color blindness

Normal #313330
Protanopia #333230
Deuteranopia #333230
Tritanopia #313332

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

#E5E6E5
#BFC1BD
#989C96
#72766F
#4C4F4A
#262725

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.

Nearest CSS named colors

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.