---
title: "Creating a Custom Material UI Theme Part 1: Customizing a Color Scheme"
description: If you’ve ever built a website or a software application, you’ll quickly realize that you need more colors than you could ever imagine.
image: https://info.keylimeinteractive.com/hubfs/Screen%20Shot%202019-06-05%20at%2011.44.15%20AM.png
---

[![Key Lime Logo](https://info.keylimeinteractive.com/hs-fs/hubfs/Key%20Lime%20Logo.png?width=200&height=39&name=Key%20Lime%20Logo.png "Key Lime Logo")](https://keylimeinteractive.com/)

- SERVICES 
    - [All Services](https://keylimeinteractive.com/services)
    - [UX Strategy](https://keylimeinteractive.com/ux-strategy-design/)
    - [User Research](https://keylimeinteractive.com/user-research/)
    - [UX/UI Design](https://keylimeinteractive.com/ux-design-strategy/)
    - [EmTech Strategy](https://keylimeinteractive.com/emerging-technology/)
- OUR WORK 
    - [Our Approach](https://dev.keylimeinteractive.com/our-approach/)
    - [Enterprise Clients](https://keylimeinteractive.com/work/)
    - [Public Sector](https://keylimeinteractive.com/public-sector-gsa-schedule/)
- [ABOUT US](https://keylimeinteractive.com/about-us/) 
    - [Who We Are](https://keylimeinteractive.com/about-us/)
    - [People](https://keylimeinteractive.com/our-team/)
    - [Careers](https://workforcenow.adp.com/mascsr/default/mdf/recruitment/recruitment.html?cid=1eb079d3-bb50-438a-a731-eaa18a982193&ccId=19000101_000001&lang=en_US)
- INSIGHTS 
    - [CX Blog](https://info.keylimeinteractive.com)
    - [Events](https://keylimeinteractive.com/upcoming-events/)
    - [Competitive Indexes](https://keylimeinteractive.com/reports/#rankings)
    - [White Papers](https://keylimeinteractive.com/reports/)
- [CONTACT US](https://keylimeinteractive.com/contact/)

[![](https://keylimeinteractive.com/wp-content/uploads/2024/02/key-lime-interactive.svg)](https://info.keylimeinteractive.com/)

- [What We Do](https://keylimeinteractive.com/ux-research-services/) 
    - [Proven Process](https://keylimeinteractive.com/proven-process/)
- [About Us](https://keylimeinteractive.com/about-us/) 
    - [Meet Our Team](https://keylimeinteractive.com/our-team/)
    - [Careers](https://keylimeinteractive.com/careers/)
    - [News](https://keylimeinteractive.com/news/)
- [Blog](https://info.keylimeinteractive.com/)
- Resources 
    - [Case Studies](https://keylimeinteractive.com/case-studies/)
    - [Events](https://info.keylimeinteractive.com/events)

- [What We Do](https://keylimeinteractive.com/ux-research-services/) 
    - [Proven Process](https://keylimeinteractive.com/proven-process/)
- [About Us](https://keylimeinteractive.com/about-us/) 
    - [Meet Our Team](https://keylimeinteractive.com/our-team/)
    - [Careers](https://keylimeinteractive.com/careers/)
    - [News](https://keylimeinteractive.com/news/)
- [Blog](https://info.keylimeinteractive.com/)
- Resources 
    - [Case Studies](https://keylimeinteractive.com/case-studies/)
    - [Events](https://info.keylimeinteractive.com/events)

[Contact us](https://info.keylimeinteractive.com/contact)

[![](https://keylimeinteractive.com/wp-content/uploads/2024/02/key-lime-interactive.svg)](https://info.keylimeinteractive.com/)

- [What We Do](https://keylimeinteractive.com/ux-research-services/) 
    - [Proven Process](https://keylimeinteractive.com/proven-process/)
- [About Us](https://keylimeinteractive.com/about-us/) 
    - [Meet Our Team](https://keylimeinteractive.com/our-team/)
    - [Careers](https://keylimeinteractive.com/careers/)
    - [News](https://keylimeinteractive.com/news/)
- [Blog](https://info.keylimeinteractive.com/)
- Resources 
    - [Case Studies](https://keylimeinteractive.com/case-studies/)
    - [Events](https://info.keylimeinteractive.com/events)

- [What We Do](https://keylimeinteractive.com/ux-research-services/) 
    - [Proven Process](https://keylimeinteractive.com/proven-process/)
- [About Us](https://keylimeinteractive.com/about-us/) 
    - [Meet Our Team](https://keylimeinteractive.com/our-team/)
    - [Careers](https://keylimeinteractive.com/careers/)
    - [News](https://keylimeinteractive.com/news/)
- [Blog](https://info.keylimeinteractive.com/)
- Resources 
    - [Case Studies](https://keylimeinteractive.com/case-studies/)
    - [Events](https://info.keylimeinteractive.com/events)

[Contact us](https://info.keylimeinteractive.com/contact)

- <https://twitter.com/intent/tweet?url={url}&text={title}>
- <https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}>
- <https://www.facebook.com/sharer.php?u={url}>

# Creating a Custom Material UI Theme Part 1: Customizing a Color Scheme

[By Key Lime Interactive](https://info.keylimeinteractive.com/author/key-lime-interactive)

 June 05, 2019

[UX Strategy](https://info.keylimeinteractive.com/topic/ux-strategy), [User Interface](https://info.keylimeinteractive.com/topic/user-interface)

- [Tweet](https://twitter.com/share)

![Creating a Custom Material UI Theme Part 1: Customizing a Color Scheme](https://info.keylimeinteractive.com/hubfs/Screen%20Shot%202019-06-05%20at%2011.44.15%20AM.png)

       The standard Material UI color palette is extensive – and for good reason. If you’ve ever built a website or a software application, you’ll quickly realize that you need more colors than you could ever imagine.

First, let’s cover some terminology.

**Hue** – In simplified terms, this is the color. There are 360 hues available, so it’s a bit more complicated than just blue, orange, red, etc. The standard theme comes with 19 different hues. You may find that you don’t need all of the hues for your project.

**Shade** – this is the darkness of the color. Material UI uses 14 different shades for *each* hue, the darkest being 900 and the lightest 50. When implementing Material UI, you would reference a hue and shade as hue\[shade\] (i.e. blue\[500\]).

**Saturation** – how much of the hue is in the color value. Values range from 1 – 100.

        When starting a color scheme, I suggest starting with brand colors if available. Pick your primary and secondary colors, based on your brand colors. Primary and secondary colors will be used for links, buttons, navigation, etc. I also chose a third default color that is worked into the theme.

**Pro tip:** Test out your main colors (primary, secondary, etc.) in a hi-fi prototype before creating the full palette to avoid having to re-create the palette or make major modifications.

        The next step is to choose which colors you’ll include in your palette. Material UI has 19 colors: red, pink, purple, deep purple, indigo, blue, light blue, cyan, teal, green, light green, lime, yellow, amber, orange, deep orange, brown, grey, and blue grey. For instance, You may decide you don’t need lime green, deep purple, or deep orange colors, depending on your brand colors. You’ll definitely want either blue grey or grey as your secondary color. These exact color values are easily changed to suit your brand.

        For each color you choose to include in your palette, you’ll need to define 14 different shades. It took me about a day to define the first iteration of the full color scheme. Before we go into how to create each different shade from your brand color, let’s discuss accessibility standards. You can use a color contrast calculator such as[WebAIM](https://webaim.org/resources/contrastchecker/) to check your color values and make sure they’re accessible. It’s very difficult to find a suitable color of orange that has enough contrast to use as a button color with white text – and it’s flat-out impossible to find a yellow that’s accessible with white text. However, you can define which colors can be used as button colors, with either white or your dark text color. Because I work with a large team of designers, I chose to make all 700, 800, and 900 shades (except for yellow) accessible with white text, and all 50, 100, and 200 shades accessible with a dark text color. Material UI uses the 500 shade as their default for each hue. However, I found it difficult to find enough shades that were accessible on white, so I customized the theme to use the 700 shade. I’ll show you how to do that in a later post.

      Now, to create each different shade, first find the hex or RGB value of your brand color. As an example,. I do not suggest trying to calculate 14 different shades of a particular hue using Hex or RGB values – it’ll drive you madder than a Targaryan (if you don’t get this reference, you can’t be my friend). Use Illustrator, Photoshop, or a website such as color.adobe.com to find the HSV/HSB value. This is hue, saturation, and value/brightness. Once you enter your hex/RGB value of the brand color, switch to HSV/HSB mode. For each shade, use the same hue. Modify the saturation and value/brightness for each color to get a gradient effect when the colors are stacked on top of each other. The easiest way to create the four accent colors is to copy the values for the corresponding shades and raise the saturation value.

      If brand colors for a particular color don’t exist, compare brand colors you do have. For instance, if red and blue are brand colors, purple hue should be close to middle of the hue colors. I suggest laying the colors out similar to the material UI color palette. Don’t trust only your visual judgment – use the hue, saturation, and value/brightness to calculate the different shades of each color.

       There’s one exception to this method, and that’s calculating values for grey. If you already have a grey in your color palette, you can easily create different shades using the RGB values – just increment or decrement the values for RGB the same amount for each shade. For instance, if your RGB values for grey\[700\] are (50, 55, 60), then grey \[600\] could be (60, 65, 70). For the grey color, it will add some life to your grey if you vary the RGB values a bit. For instance, (100, 102, 104) is much more visually appealing than a flat grey (100, 100, 100). I suggest increments of 2-5 for each RGB color.

      Good luck creating your color scheme – the next blog post in this series will cover how to implement your custom theme.

 

**READ MORE: **[The UX of Color](https://info.keylimeinteractive.com/the-ux-of-color), [When to Use ZeroUI: A Researcher's Perspective](https://info.keylimeinteractive.com/when-to-use-zero-ui-a-researchers-perspective), [Accessibility in UX Design](https://info.keylimeinteractive.com/accessibility-in-ux-design), [User-Centered Design](https://info.keylimeinteractive.com/user-centered-design)

###### More by this Author

[Key Lime Interactive](https://info.keylimeinteractive.com/author/key-lime-interactive)

##### You might also like

![3 Areas Where UX Can Help Build Brand Goodwill](https://info.keylimeinteractive.com/hubfs/pexels-monstera-rising%20revenue.jpg)

[3 Areas Where UX Can Help Build Brand Goodwill](https://info.keylimeinteractive.com/3-areas-where-ux-can-help-build-brand-goodwill)

 June 05, 2019

![4 Ways UX Researchers Can Learn From Nonprofit Work](https://info.keylimeinteractive.com/hubfs/Wavy_Lst-18_Single-01.jpg)

[4 Ways UX Researchers Can Learn From Nonprofit Work](https://info.keylimeinteractive.com/4-ways-ux-researchers-can-learn-from-nonprofit-work)

 June 05, 2019

![Design Futures and Strategic Foresight](https://info.keylimeinteractive.com/hubfs/pexels-ivan-bertolazzi-2681319.jpg)

[Design Futures and Strategic Foresight](https://info.keylimeinteractive.com/design-futures-and-strategic-foresight)

 June 05, 2019

#### Comments

[Add Comment](https://info.keylimeinteractive.com/creating-a-custom-material-ui-theme#comment-form)

ABOUT KLI

[Key Lime Interactive](https://keylimeinteractive.com/about-us)is a user experience research and service design agency, with a sweet spot for emerging technology. As UX experts, our goal is to make your life easier, optimize user experiences, and make the world a better place.

- [Recent](https://info.keylimeinteractive.com/creating-a-custom-material-ui-theme#tabs-0)
- [Popular](https://info.keylimeinteractive.com/creating-a-custom-material-ui-theme#tabs-1)

![Upsell with Purpose: Fueling SaaS Growth Through User Insight](https://info.keylimeinteractive.com/hubfs/Multiethnic%20group%20of%20young%20people%20sitting%20in%20conference%20room%20and%20brainstorming%20on%20business%20meeting.jpeg)

[Upsell with Purpose: Fueling SaaS Growth Through User Insight](https://info.keylimeinteractive.com/upselling-in-a-saas-environment-with-a-user-centric-approach)

Aug 22, 2024

![5 Ways to Get the Most Out of Working with a UX Research Consultant](https://info.keylimeinteractive.com/hubfs/Attractive%20businessman%20speaking%20with%20fellow%20coworkers.jpeg)

[5 Ways to Get the Most Out of Working with a UX Research Consultant](https://info.keylimeinteractive.com/5-ways-to-get-the-most-out-of-working-with-a-ux-research-consultant)

Aug 22, 2024

![Designing Engagement Through Micro-Interactions](https://info.keylimeinteractive.com/hubfs/AI-Generated%20Media/Images/A%20closeup%20shot%20of%20a%20finger%20gently%20tapping%20a%20digital%20button%20on%20a%20sleek%2c%20modern%20interface.jpeg)

[Designing Engagement Through Micro-Interactions](https://info.keylimeinteractive.com/the-significance-of-micro-interactions-in-shaping-user-engagement-and-experience)

Aug 22, 2024

![What is the Keystroke-Level Model?](https://info.keylimeinteractive.com/hubfs/Keystroke.jpg)

[What is the Keystroke-Level Model?](https://info.keylimeinteractive.com/what-is-the-keystroke-level-model)

Aug 22, 2024

![Current-State vs. Future-State Journey Mapping](https://info.keylimeinteractive.com/hubfs/destination-2386255_1280.jpg)

[Current-State vs. Future-State Journey Mapping](https://info.keylimeinteractive.com/current-state-vs.-future-state-journey-mapping)

Aug 22, 2024

![A History of Voice Technology](https://info.keylimeinteractive.com/hubfs/Screen%20Shot%202020-08-11%20at%2012.18.34%20PM.png)

[A History of Voice Technology](https://info.keylimeinteractive.com/history-of-voice-technology)

Aug 22, 2024

Create a UX Strategy

[![key-lime-interactive-ux](https://info.keylimeinteractive.com/hs-fs/hubfs/key-lime-interactive-ux.png?width=635&height=634&name=key-lime-interactive-ux.png)](https://keylimeinteractive.com/ux-strategy-design)

### Post By Topics

- [Research Methods](https://info.keylimeinteractive.com/topic/research-methods)
- [UX Strategy](https://info.keylimeinteractive.com/topic/ux-strategy)
- [Events & News](https://info.keylimeinteractive.com/topic/events-news)
- [UX Research](https://info.keylimeinteractive.com/topic/ux-research)
- [User Experience](https://info.keylimeinteractive.com/topic/user-experience)
- [User Interface](https://info.keylimeinteractive.com/topic/user-interface)
- [UX](https://info.keylimeinteractive.com/topic/ux)
- [News](https://info.keylimeinteractive.com/topic/news)
- [Mobile UX](https://info.keylimeinteractive.com/topic/mobile-ux)
- [Usability Testing](https://info.keylimeinteractive.com/topic/usability-testing)
- [Competitive Research](https://info.keylimeinteractive.com/topic/competitive-research)
- [UX Design](https://info.keylimeinteractive.com/topic/ux-design)
- [Eye tracking & Biometrics](https://info.keylimeinteractive.com/topic/eye-tracking-biometrics)
- [Qualitative Research](https://info.keylimeinteractive.com/topic/qualitative-research)
- [Customer Experience](https://info.keylimeinteractive.com/topic/customer-experience)
- [Journey Mapping](https://info.keylimeinteractive.com/topic/journey-mapping)
- [DEI](https://info.keylimeinteractive.com/topic/dei)
- [Remote Testing](https://info.keylimeinteractive.com/topic/remote-testing)
- [User Experience Consultant](https://info.keylimeinteractive.com/topic/user-experience-consultant)
- [VR](https://info.keylimeinteractive.com/topic/vr)
- [XR](https://info.keylimeinteractive.com/topic/xr)
- [Multicultural UX](https://info.keylimeinteractive.com/topic/multicultural-ux)
- [Mobile Banking](https://info.keylimeinteractive.com/topic/mobile-banking)
- [Quantitative Research](https://info.keylimeinteractive.com/topic/quantitative-research)
- [App Development](https://info.keylimeinteractive.com/topic/app-development)
- [User Experience Research Studies](https://info.keylimeinteractive.com/topic/user-experience-research-studies)
- [Diversity Equity Inclusion](https://info.keylimeinteractive.com/topic/diversity-equity-inclusion)
- [UI](https://info.keylimeinteractive.com/topic/ui)
- [Voice Technology](https://info.keylimeinteractive.com/topic/voice-technology)
- [Accessibility](https://info.keylimeinteractive.com/topic/accessibility)
- [Behavioral Personas](https://info.keylimeinteractive.com/topic/behavioral-personas)
- [Diary Study & Ethnography](https://info.keylimeinteractive.com/topic/diary-study-ethnography)
- [Global Research](https://info.keylimeinteractive.com/topic/global-research)
- [Inclusivity Index](https://info.keylimeinteractive.com/topic/inclusivity-index)
- [User Testing](https://info.keylimeinteractive.com/topic/user-testing)
- [Card Sort & Tree Test](https://info.keylimeinteractive.com/topic/card-sort-tree-test)
- [Human-first Approach](https://info.keylimeinteractive.com/topic/human-first-approach)
- [Personalization](https://info.keylimeinteractive.com/topic/personalization)
- [CX](https://info.keylimeinteractive.com/topic/cx)
- [Diary Study](https://info.keylimeinteractive.com/topic/diary-study)
- [In-Depth Interviews](https://info.keylimeinteractive.com/topic/in-depth-interviews)
- [Inclusivity](https://info.keylimeinteractive.com/topic/inclusivity)
- [A/B Testing](https://info.keylimeinteractive.com/topic/a-b-testing)
- [CX Research](https://info.keylimeinteractive.com/topic/cx-research)
- [IDIs](https://info.keylimeinteractive.com/topic/idis)
- [Bias](https://info.keylimeinteractive.com/topic/bias)
- [Personas](https://info.keylimeinteractive.com/topic/personas)
- [Research Participant Recruitment](https://info.keylimeinteractive.com/topic/research-participant-recruitment)
- [Usability](https://info.keylimeinteractive.com/topic/usability)
- [Women in UX](https://info.keylimeinteractive.com/topic/women-in-ux)
- [Workshops](https://info.keylimeinteractive.com/topic/workshops)
- [Customer Journey Mapping](https://info.keylimeinteractive.com/topic/customer-journey-mapping)
- [Remote Research](https://info.keylimeinteractive.com/topic/remote-research)
- [Research Analysis](https://info.keylimeinteractive.com/topic/research-analysis)
- [UX Methods](https://info.keylimeinteractive.com/topic/ux-methods)
- [Webinars](https://info.keylimeinteractive.com/topic/webinars)
- [Anthropology](https://info.keylimeinteractive.com/topic/anthropology)
- [Competitive Benchmarking](https://info.keylimeinteractive.com/topic/competitive-benchmarking)
- [Competitive Insights](https://info.keylimeinteractive.com/topic/competitive-insights)
- [Competitive Intelligence](https://info.keylimeinteractive.com/topic/competitive-intelligence)
- [Confirmation Bias](https://info.keylimeinteractive.com/topic/confirmation-bias)
- [Ethnography](https://info.keylimeinteractive.com/topic/ethnography)
- [Gaming](https://info.keylimeinteractive.com/topic/gaming)
- [Healthcare CX Design](https://info.keylimeinteractive.com/topic/healthcare-cx-design)
- [Healthcare Customer Experience Design](https://info.keylimeinteractive.com/topic/healthcare-customer-experience-design)
- [Heuristics](https://info.keylimeinteractive.com/topic/heuristics)
- [Unmoderated](https://info.keylimeinteractive.com/topic/unmoderated)
- [sample size calculation](https://info.keylimeinteractive.com/topic/sample-size-calculation)
- [AI development](https://info.keylimeinteractive.com/topic/ai-development)
- [Biometrics](https://info.keylimeinteractive.com/topic/biometrics)
- [Communication](https://info.keylimeinteractive.com/topic/communication)
- [Competitive Intelligence Analysis](https://info.keylimeinteractive.com/topic/competitive-intelligence-analysis)
- [Concept Testing](https://info.keylimeinteractive.com/topic/concept-testing)
- [Consultant](https://info.keylimeinteractive.com/topic/consultant)
- [Custom Projects](https://info.keylimeinteractive.com/topic/custom-projects)
- [Dedicated Services](https://info.keylimeinteractive.com/topic/dedicated-services)
- [Digital Divide](https://info.keylimeinteractive.com/topic/digital-divide)
- [Impact](https://info.keylimeinteractive.com/topic/impact)
- [Keystroke Level Model](https://info.keylimeinteractive.com/topic/keystroke-level-model)
- [Literature Review](https://info.keylimeinteractive.com/topic/literature-review)
- [Negotiation in UX](https://info.keylimeinteractive.com/topic/negotiation-in-ux)
- [Nonprofit UX](https://info.keylimeinteractive.com/topic/nonprofit-ux)
- [Presentation](https://info.keylimeinteractive.com/topic/presentation)
- [Rapid Research](https://info.keylimeinteractive.com/topic/rapid-research)
- [Report](https://info.keylimeinteractive.com/topic/report)
- [SaaS](https://info.keylimeinteractive.com/topic/saas)
- [UX Templates](https://info.keylimeinteractive.com/topic/ux-templates)
- [World Usability Day](https://info.keylimeinteractive.com/topic/world-usability-day)
- [digital design](https://info.keylimeinteractive.com/topic/digital-design)
- [persona](https://info.keylimeinteractive.com/topic/persona)
- [user engagement](https://info.keylimeinteractive.com/topic/user-engagement)

![ ](https://keylimeinteractive.com/wp-content/uploads/2024/05/aicpa-soc-certified.png)

![Logo of the National Minority Supplier Development Council with colorful abstract shapes and text.](https://keylimeinteractive.com/wp-content/uploads/2024/05/NMSDC-Logo-NATIONAL-1024x716.jpg)

![Logo with the text "Insights Association" and colorful squares forming a pattern above the text.](https://keylimeinteractive.com/wp-content/uploads/2024/02/insights-association-logo-v2.png)

![](https://keylimeinteractive.com/wp-content/uploads/2024/02/key-lime-interactive.svg)

Your Trusted Partner for UX Research

Key Lime Interactive

- [What We Do](https://keylimeinteractive.com/ux-research-services/)
- [Proven Process](https://keylimeinteractive.com/proven-process/)

Resources

- [Case Studies](https://info.keylimeinteractive.com/case-studies)
- [Events + Workshops](https://info.keylimeinteractive.com/events)
- [Blog](https://info.keylimeinteractive.com/)

Company

- [About Us](https://keylimeinteractive.com/about-us/)
- [Meet Our Team](https://keylimeinteractive.com/our-team/)
- [Careers](https://keylimeinteractive.com/careers/)
- [News](https://keylimeinteractive.com/news/)
- [Security & Compliance](https://app.vanta.com/keylimeinteractive.com/trust/cylnxu23wx6pzvej7bloh9)
- [Public Sector GSA](https://keylimeinteractive.com/public-sector-gsa-schedule/)

Get in touch

- [Contact Us](https://keylimeinteractive.com/contact)

<https://www.linkedin.com/company/key-lime-interactive/mycompany> <https://www.facebook.com/pages/Key-Lime-Interactive-LLC/247944346084> <https://www.youtube.com/channel/UC_2BwK4p_KTJCj85NGtee3Q>

© 2025 All Rights Reserved.

- [Privacy Policy](https://keylimeinteractive.com/privacy-policy/)

- [Terms of Use](https://keylimeinteractive.com/terms/)