Dark Mode Design: Getting Contrast Right

  • Author
  • CategoryDesign
  • Published
  • Modified
  • Reading time1 min read

Many people prefer dark interfaces, especially at night. A good dark theme takes care, because simply flipping colours often leads to harsh or hard to read results.

Avoid pure black and white

Pure white text on pure black can look harsh and cause glare. Use a very dark grey background and an off white for text. This keeps the contrast strong while feeling softer on the eyes.

Adjust your colours

Bright, saturated colours can vibrate on dark backgrounds. Slightly mute accent colours, and test each one for contrast. Shadows work less well in dark mode, so use subtle borders or lighter surfaces to show depth.

Offer a choice

Respect the system setting when you can, and let people switch manually. Test your images and icons in both themes so nothing disappears or looks out of place.

More in Design

View all