Why Your Dark Mode Colors Look Terrible (And How to Fix Them)
Maya
Founder of ColorCraft
My first dark mode attempt was a disaster. I took a perfectly fine light-colored dashboard, inverted the background to black, flipped the text to white, and called it done. The client took one look and said it looked like a power outage. The whites were blinding. The shadows disappeared. Every button looked like it was floating in a void. I had to rebuild the entire color system from scratch, and that painful process taught me that dark mode is not light mode with the lights turned off.
Pure White on Pure Black Is Eye Torture
Here is the mistake almost everyone makes. They set the background to #000000 and the text to #FFFFFF because those are the "correct" dark mode colors. They are not. On a modern OLED screen, pure white text against pure black creates the maximum possible contrast. Your eyes physically strain to read it. It is the digital equivalent of staring into a flashlight in a dark room.
The fix is almost embarrassingly simple. Use an off-black background like #0a0a0f or #121212 instead of #000000. And use an off-white text like #e0e0e0 or #d1d1d1 instead of #FFFFFF. The contrast is still excellent, but your retinas will thank you. I learned this from a Reddit thread at 2 AM, and it immediately solved the "power outage" problem my client had complained about.
Shadows Do Not Work the Same Way
On light backgrounds, shadows add depth. A card with a subtle drop shadow feels elevated above the surface. On dark backgrounds, the same shadow becomes invisible. Black shadow on black background equals nothing. I spent hours trying to increase shadow opacity and blur radius before I realized I was solving the wrong problem.
The solution is to think in terms of light instead of shadow. Instead of adding a dark shadow beneath a card, add a subtle highlight on top. A 1px border with a slightly lighter shade (#1e1e2e on a #121212 background) creates the same sense of elevation that a shadow does on a light background. This inverted thinking is the single biggest mindset shift for dark mode design.
Saturated Colors Become Neon Signs
I had a brand color — a nice, respectable blue (#3b82f6) — that looked professional on a white background. On a dark background, that same blue turned into a glowing neon tube. Every button, link, and accent element started competing for attention like Times Square billboards. The interface felt chaotic and cheap.
The rule I now follow: darken your brand colors by about 15% for dark mode. That #3b82f6 becomes #2563eb. Still recognizable as the same blue family, but it sits calmly against the dark background instead of screaming. You can test this instantly with our color code converter by adjusting the lightness value in HSL mode.
Gray Scales Need More Steps
On a light background, you might get away with three gray values: body text, secondary text, and borders. On a dark background, you need at least five or six distinct grays. The reason is that human perception of lightness is not linear. The jump from #333333 to #444444 is much more noticeable to our eyes than the jump from #eeeeee to #dddddd.
I now build my dark mode gray scales with smaller increments at the dark end and larger increments at the light end. Something like #0a0a0f for the deepest background, #121212 for cards, #1e1e2e for borders, #4a4a5a for secondary text, and #d1d1d1 for primary text. This gives me enough granularity to create hierarchy without everything blending into one dark blob.
You can generate a full dark-mode-ready scale with our Tailwind color generator. Start with a mid-tone gray and let it build lighter and darker variants that stay mathematically consistent.
The One Check That Saves Everything
Before I ship any dark mode design, I do one final check. I open the site on my phone at minimum brightness in a completely dark room. If any element hurts to look at, it fails. Pure white text always fails this test. Bright saturated colors usually fail. Subtle off-whites and muted tones pass. This single habit has prevented more dark mode disasters than any color theory book ever could.
Maya — Founder of ColorCraft
I have been designing with color for over a decade, mostly by making every mistake possible first. ColorCraft is the toolset I wish I had when I started — no fluff, just practical tools that solve real problems. I write about what I have actually learned from real projects, not what sounds good in a textbook.