Material Design Theming
Report Issue
Found an issue or calculation bug in Material Design Theming? Send a report with your device diagnostics included so we can resolve it quickly.
Device Info IncludedAuto-detected
OS: Detecting...
Browser: Detecting...
Screen: --
Viewport: --
To: support@toolslash.com
Guide
Material Design 3 Theming Guide
Material Design 3 generates light and dark color schemes from HCT tonal palettes to preserve consistent accessibility.
Formula
Contrast Ratio = (Max(Tone1, Tone2) + 5) / (Min(Tone1, Tone2) + 5)
Surface Tint = Elevation Level * Mode Factor
Frequently Asked Questions
- What is the minimum WCAG contrast ratio for body text?
- WCAG 2.1 AA mandates a minimum contrast ratio of 4.5:1 for standard text and 3:1 for large text and interface components.
- How does elevation work in M3 dark mode?
- In dark theme, elevation is visualized through an escalating primary color semi-transparent tint overlay on top of the surface.