facebook

5 Tips for Dark Theme Design

Author: Taha Malik

One of the most requested features in UX and design, the dark theme has become increasingly popular over the past few years. 

With Apple and Google both making the dark theme an integral part of their UI, other companies and apps quickly followed. 

The reduced stress on eyes (and battery life) because of the decreased luminance became the main reason behind the theme’s popularity. 

As a designer or marketer, here are five super important tips to keep in mind when designing a dark theme for your client or product! 

1. Avoid pure black or saturated colors

There is so much more to a dark theme than just white text on a pure black background. That has the very opposite of the soothing effect a well-designed dark theme should have. 

Instead, it’s much more ideal to go with a softer dark gray – light text on gray is simply more comfortable for the eyes because of the reduced contrast. You can also express an extensive range of depths and shadows on gray. 

Much like the sharp black and white, saturated colors can have the same jarring effect. You can desaturate primary colors, or go for lighter shades. 

2. Use color contrast cautiously 

Make sure your content is comfortably visible by using a standard contrast level – 15:8:1, as recommended by Google Material Design. 

3. Communicate depth

As with a light theme, it is crucial to communicate hierarchy in a dark theme. 

Unlike light themes, however, shadows cannot be used to communicate elevation as they don’t work that well on dark surfaces. 

Instead, depth can be utilized to display how high or low an element is within the design. 

This is where the grays come into play. The ‘higher’ an element is, the lighter it is shaded, and vice versa with the darkest shaded elements being the lowest in elevation. 

4. ‘On’ colored text

Keeping with the depth hierarchy, always make sure that your text is of an ‘on’ color – colors that vividly appear ‘on’ top of surfaces. 

While the default is white (#ffffff) and jarring, you can darken it by playing around with the opacity. Ideal values: 87% for high-emphasis, 60% for medium, and 38% for disabled text. 

You can also opt for three versions of a light gray if it suits your fancy. 

5. Always test in both light and dark

While it’s not a hard and fast rule that both light and dark theme UXs should be the same, it is still ideal to have them be as similar as possible. 

The best way to achieve perfect compatibility is to test every element in both themes to ensure everything works in perfect harmony. 

Testing both themes in both light (daylight, incandescent lighting) and dark (after sundown, night-lamp, or pitch black) will help you achieve an extremely comfortable design. 

That’s all folks! 

If you’re still having trouble, or need any help along the way, don’t hesitate to reach out! 

At Sunan Designs, our team of expert designers is always ready to help. All you have to do is relax and let us design an awesome dark theme for you! 

 

Taha Malik

Taha Malik

About the Author
Taha is the guy who makes ideas do a double take. Filmmaker, Creative Associate, and part-time chaos wrangler, he turns scripts, campaigns, and pixels into things people actually notice. When he’s not chasing the perfect shot, he’s probably sipping chai, scrolling memes, or debating plot holes in real life.
With privacy concerns at an all-time high, marketers are seeking new ways to deliver personalized experiences without crossing...
As audiences grow more sophisticated, traditional marketing isn’t enough. Today, brands are embracing immersive brand experiences AR VR...
As Gen-Z continues to shape digital culture, mastering TikTok marketing strategies 2025 is essential for brands aiming to...
In the fast-moving world of search, AI driven SEO 2025 is more than just a buzzword—it’s a roadmap...
There are moments in our lives when giving feels like a grand gesture—a check written during Ramadan, a...
There are days in history that shift the course of generations—not because of grand empires or conquests, but...
The Day Before the Storm There’s a stillness before every turning point. A breath before the leap. A...
Every year, as the world turns the page on another Gregorian chapter, the Islamic world begins its own...
So Dhul Hijjah is over. The Qurbani is done. Eid al-Adha celebrations have wrapped. Social feeds are quiet...