Carbon - Dark Grayscale Theme
Classic grayscale dark mode
Sophisticated dark themes for modern interfaces
Designing for dark mode? Our curated dark color palettes help you build sophisticated interfaces that reduce eye strain. Whether you need a dark UI color scheme for a dashboard or a sleek app theme, these palettes are optimized for OLED screens. Free to use, no signup required.
Dark color palettes are collections of low-lightness colors designed for user interfaces that use dark backgrounds instead of white. The most effective dark palettes don't rely on pure black (#000000) — instead, they use dark grays like #121212, #1E1E1E, or #0D1117 as base surfaces, with lighter grays for elevation and saturated accents for interactive elements. This layered approach creates depth and hierarchy without the harsh contrast that pure black produces against bright text and UI elements.
Dark mode has shifted from a developer preference to a mainstream expectation. Every major operating system — iOS, Android, macOS, Windows — now ships with a system-wide dark theme. Users choose it for comfort in low-light environments, for battery savings on OLED screens, and simply because it looks good. If you're building a product in 2024 and beyond, supporting a dark UI color scheme isn't optional — it's expected. These palettes give you production-ready starting points that follow Material Design and Apple HIG guidelines for dark interfaces.
Click any color swatch in the palettes below to copy its hex code instantly. If you need to build a scheme from existing brand assets, use our color extractor to pull dark tones directly from your images, or start from scratch with the palette generator.
Classic grayscale dark mode
Developer-friendly darkness
Deep blues with accent pop
Industrial chic
Neon tech aesthetic
Android inspired
Ultra-dark midnight tones
iOS-style minimal charcoal
Slate blue with accent highlight
Neutral dark app foundation
Rich purple depth gradient
Forest dark with emerald pop
Warm charcoal with amber accent
Balanced slate gradient
Deep burgundy with red pop
Tech-forward blue dark
Deep oceanic teal tones
Clean zinc neutral darks
The biggest mistake developers make with dark themes is inverting a light palette — swapping white backgrounds for black and calling it done. Professional dark UI design requires a fundamentally different approach. Google's Material Design team spent years researching dark theme ergonomics, and their key finding was that surfaces in dark mode should use dark gray, not pure black. The recommended baseline is #121212 because it allows for visible elevation layers: a card at elevation level 1 becomes #1E1E1E, level 2 becomes #242424, and so on. With pure black (#000000), these subtle lifts disappear entirely.
On OLED and AMOLED screens — which power most modern smartphones and an increasing number of laptops — black pixels are literally turned off, consuming zero power. This means a well-designed dark palette with deep blacks and grays can extend battery life by 30–60% compared to a white interface. However, the trade-off is that pure black creates harsh halos around text and images on OLED, especially in motion. This is another reason the #121212–#1E1E1E range is preferred over #000000 — the slight gray tint softens these artifacts while still delivering strong battery savings.
Color temperature matters too. Cool-toned darks (those with a slight blue cast, like #0D1117) feel technical and precise — perfect for developer tools and data dashboards. Warm-toned darks (with a slight brown or amber cast, like #1A1410) feel cozy and premium — better suited for media apps and lifestyle brands. The palettes above cover both ends of this spectrum so you can choose a base that matches your product's personality. Need to verify your dark palette works for color-blind users? Run it through our color blindness simulator before shipping.
Dark mode has evolved from a niche preference into a mainstream design expectation. Major operating systems, browsers, and applications now offer dark mode as a default option, and users increasingly expect it. A well-crafted dark mode color scheme reduces the amount of light emitted by screens, which is particularly beneficial in low-light environments like late-night work sessions, dimly lit offices, and bedrooms. Studies have shown that dark interfaces can reduce eye strain by lowering the overall luminance the eyes need to process.
From a technical perspective, dark theme palettes offer measurable battery savings on OLED and AMOLED displays. Since these screen technologies light individual pixels rather than using a backlight, darker pixels consume significantly less power. A dark UI color scheme with deep grays and blacks can reduce battery consumption by 30–60% compared to a white background, depending on the content displayed. This makes dark palettes especially valuable for mobile applications where battery life is a critical user concern.
Aesthetically, dark interfaces create a sense of focus and immersion. By reducing visual noise and minimizing bright surfaces, dark color palettes naturally draw attention to content — images, text, and interactive elements stand out more prominently against a dark canvas. This is why dark themes are dominant in creative tools, video editors, gaming interfaces, and data-heavy dashboards where focus matters more than decorative chrome. If you want to build a dark scheme from an existing photo or brand asset, you can extract colors from image files to find the exact dark tones already present in your visual identity.
The most effective dark colors hex codes are those that create clear visual hierarchy without relying on pure black. Here are the most widely used dark combinations in professional UI design:
To explore harmonious dark combinations systematically, use a color wheel tool to find complementary and analogous accent colors that pair naturally with your chosen dark base.
Designing with dark UI colors requires more nuance than simply inverting a light theme. Here are the essential principles that separate professional dark interfaces from amateur ones:
When building dark gradients for backgrounds or accent elements, you can create gradients using two dark shades from the same palette — a subtle gradient from #121212 to #1A1A1A adds dimension to flat dark surfaces without introducing new colors.
Getting started with the palettes on this page is straightforward:
Every palette on this page is free to use for personal and commercial projects — no attribution required, no signup, no catch. Looking for a different mood? Try our pastel palettes or neon palettes for brighter alternatives.
Here is a reference list of the most commonly used dark colors hex codes in professional UI design. Click any swatch to copy its hex code instantly.
These hex codes cover the full range of dark theme palette surfaces — from near-black backgrounds to medium-gray text and borders. Use them as starting points to build custom palettes that match your specific design requirements.
I was building a side project — a small analytics dashboard — and decided to add dark mode. I figured it would take an hour. Three hours later, I was still staring at my screen, second-guessing whether #121212 was too dark, whether #1E1E1E was too light, and why my blue accent (#3B82F6) seemed to vibrate against the background like it was trying to escape the page. I had the hex codes memorized from Material Design's documentation, but translating them into a cohesive palette that actually looked good together was harder than I expected.
I started collecting the dark palettes that worked — the ones where the elevation was visible, where the accent popped without vibrating, where text was readable at every size. Every palette on this page went through that same filter: does it actually look good in a real interface, or does it just look good in isolation? The GitHub Dark palette (#0D1117) was the one that finally clicked for my dashboard, and I've been refining this collection ever since.
The click-to-copy feature was non-negotiable for me. I didn't want another page where I had to manually highlight and copy a hex code — one click, paste into CSS, done. If these palettes save you the hours I spent squinting at slightly-wrong grays, they've done their job. And if you need something brighter for a different project, DevPalettes has plenty of other options.
The best dark colors for UI are usually dark grays like #121212 or #1E1E1E rather than pure black (#000000). Pure black creates harsh contrast and makes it impossible to show elevation through surface lightening — a key principle in Material Design's dark theme guidelines. Dark grays provide a softer, more comfortable viewing experience while still delivering strong battery savings on OLED screens.
Dark mode palettes reduce eye strain in low-light environments, save battery on OLED and AMOLED screens (by up to 60% compared to white backgrounds), and provide a modern, sleek aesthetic. Many users simply prefer the look of dark interfaces, and major platforms like iOS, Android, macOS, and Windows now offer system-wide dark mode as a first-class option.
Yes, completely free for personal and commercial projects. No attribution required, no signup, no catch. Click any color swatch to copy the hex code and use it in your project immediately.
Generally no. Pure black creates the highest possible contrast against white text, which causes eye fatigue during extended use. It also makes elevation invisible — you can't show a lighter surface on top of pure black without creating an obvious seam. Stick with #121212 or similar dark grays as your base, and reserve pure black for specific use cases like OLED-optimized splash screens.