Oil
#313330
Warm medium gray with oily depth for panels
About Oil
Oil looks like the moment a dark UI background stops being gray and starts behaving like a screen coating. It's cool and slightly muted, but it doesn't feel heavy like Black Olive, and it doesn't drift toward green like Deep Forest. Compared with Bitter Liquorice, it keeps a touch more daylight in the mix, so it reads as gray under scrutiny, not an almost-true black.
I use Oil for dark mode interfaces where you want content to stay crisp and self-contained. Think fintech product shells, streaming editors' timeline surrounds, and long-form reading screens that need glare control without going full void. It also works well in data-heavy dashboards, especially when you're relying on bright badges and light typography for hierarchy.
Pair it with clean, high-chroma accents, and don't expect it to play nicely with other equally dark surfaces. Next to warmer grays, it can feel more sterile than you intended.
Code snippets
Copy this color into your project.
Contrast checker
WCAG 2.1 contrast ratios. AA requires 4.5:1 for normal text, 3:1 for large. AAA requires 7:1 / 4.5:1.
On White #ffffff
On Gray 100 #f5f5f5
On Gray 900 #18181b
On Black #000000
Variations
Shades
Darker variations, created by mixing toward black.
Tints
Lighter variations, created by mixing toward white.
Tones
Muted variations, created by reducing saturation.
Hues
Hue rotations around the color wheel.
Temperatures
Warm and cool shifts of this color.
Color harmonies
Suggested palettes
Palettes built around this color.
Community palettes
Published palettes that include this color.