Oil Color
Oil is a dark gray with hex code #3B3131. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Oil color codes
| HEX | #3B3131 | |
|---|---|---|
| RGB | rgb(59, 49, 49) | |
| HSL | hsl(0, 9%, 21%) | |
| HSV | 0°, 17%, 23% | |
| CMYK | 0%, 17%, 17%, 77% | |
| OKLCH | oklch(32.4% 0.014 17.9) | |
| Tailwind | bg-[#3b3131] |
Closest Tailwind colour: neutral-700 (#404040). Convert any colour in the Color Converter.
About Oil
Oil (#3B3131) is a dark gray. In the RGB model it is 23% red, 19% green and 19% blue; its hue angle is 0°, with 9% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 17% yellow and 77% black.
It is a neutral colour and appears in our shades of black. Text on it reads best in white (12.6:1 contrast).
Oil tints and shades
Tints mix oil with white; shades mix it with black. Click to copy.
Colors that go with Oil
Oil is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.
Complementary
Analogous
Triadic
Split complementary
Oil contrast
- AA text pass
- AAA text pass
- AA large pass
- AA text fail
- AAA text fail
- AA large fail
Using Oil in CSS
.brand {
color: #3b3131;
}
.button {
background: #3b3131;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #807979, #3b3131, #262020);
}Similar colors
Gradients with Oil
Oil FAQ
What color is Oil?
Oil is a dark gray. Its hex code is #3B3131 and it is a neutral colour.
What is the hex code for Oil?
The hex code for Oil is #3B3131. In RGB that is rgb(59, 49, 49), and in HSL hsl(0, 9%, 21%).
What is Oil in CMYK?
Oil is roughly C 0%, M 17%, Y 17%, K 77% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Oil?
Oil is a neutral and pairs with almost any colour; one saturated accent usually looks best.
Is white or black text better on Oil?
White text reads better on Oil: 12.6:1 contrast, against 1.7:1 for black. WCAG asks for 4.5:1 for body text.
