Color - The color system

The color system

The Material Design color system can be used to create a color theme that reflects your brand or style.

Color usage and palettes

The Material Design color system uses an organized approach to applying color to your UI. In this system, a primary and a secondary color are typically selected to represent your brand. Dark and light variants of each color can then be applied to your UI in different ways.

Colors and theming

Your app’s primary and secondary colors, and their variants, help create a color theme that is harmonious, ensures accessible text, and distinguishes UI elements and surfaces from one another.

To select primary and secondary colors, and generate light and dark variants of each, use the Material Design palette tool, Theme Editor, or 2014 Material Design palettes.

A sample primary and secondary palette

  1. Primary color indicator
  2. Secondary color indicator
  3. Light and dark variants

Principles

Hierarchical

Color indicates which elements are interactive, how they relate to other elements, and their level of prominence. Important elements should stand out the most.

Legible

Text and important elements, like icons, should meet legibility standards when appearing on colored backgrounds, across all screen and device types.

Expressive

Reinforce your brand by showing brand colors at memorable moments that reinforce your brand’s style.

Color theme creation

The baseline Material color theme

Material Design comes designed with a built-in, baseline theme that can be used as-is, straight out of the proverbial box.

This includes default colors for primary, secondary, and their variants. This baseline theme also includes additional colors that define your UI, such as the colors for backgrounds, surfaces, errors, typography, and iconography. All of these colors can be customized for your app.

The baseline Material color theme.

Primary color

A primary color is the color displayed most frequently across your app’s screens and components.

If you don’t have a secondary color, your primary color can also be used to accent elements.

Dark and light primary variants

You can make a color theme for your app using your primary color, as well as dark and light primary variants.

Distinguish UI elements

To create contrast between UI elements, such as distinguishing a top app bar from a system bar, you can use light or dark variants of your primary color on each elements. You can also use variants to distinguish elements within a component, such different variants used on a floating action button container, and the icon within it.

This UI uses a primary color and two primary variants.

Secondary color

A secondary color provides more ways to accent and distinguish your product. Having a secondary color is optional, and should be applied sparingly to accent select parts of your UI.

Secondary colors are best for:

  • Floating action buttons
  • Selection controls, like sliders and switches
  • Highlighting selected text
  • Progress bars
  • Links and headlines
Dark and light secondary variants

Just like the primary color, your secondary color can have dark and light variants. You can make a color theme by using your primary color, secondary color, and dark and light variants of each color.

This UI uses a color theme with a primary, primary variant, and secondary color.

Surface, background, and error colors

Surface, background, and error colors typically don’t represent brand:

  • Surface colors affect surfaces of components, such as cards, sheets, and menus.
  • The background color appears behind scrollable content. The baseline background and surface color is #FFFFFF.
  • Error color indicates errors components, such as text fields. The baseline error color is #B00020.

A UI showcasing the baseline colors for background, surface, and error color.

Typography and iconography colors

“On” colors

The elements in an app use colors from specific categories in your color palette, such as a primary color. Whenever other screen elements, such as text or icons, appear in front of surfaces using those colors, those elements should use colors specifically designed to appear clearly and legibly against the colors behind them.

This category of colors is called “on” colors, referring to the fact that they color elements that are sometimes placed “on” top of key surfaces that use a primary color, secondary color, surface color, background color, or error color. These are labelled using the original category name (such as primary color) with the prefix “on”.

“On” colors are primarily applied to text, iconography, and strokes. Sometimes, they are also applied to surfaces.

The defaults for these colors are #FFFFFF and #000000.

A UI showcases the baseline colors for text and iconography.

Accessible colors

To ensure that a color provides an accessible background behind light or dark text, you can use light and dark variants of your primary and secondary colors.

Alternatively, these colors can be used for typography that appears in front of light and dark backgrounds.

Color swatches

A swatch is a sample of a color chosen from a range of similar colors.

For apps that use white text, backgrounds must be accessible against white. These white check marks indicate when white text is accessible against various background color swatches. The 400 color swatch is applied to this UI.

For apps that use black text, backgrounds must be accessible against black. These black check marks indicate when black text is accessible against various background color swatches. The 50 color swatch is applied to this UI.

Alternative colors

The Material Design color system supports alternative colors, which are colors used as alternatives to your brand’s primary and secondary colors (they constitute additional colors to your theme). Apps can use alternative colors to establish themes that distinguish different sections.

Alternative colors are best for:

  • Apps with light and dark themes
  • Apps with different themes in different sections
  • Apps that exist as part of a suite of products

Alternative colors should be used cautiously, because they can be challenging to implement cohesively with existing color themes.

Alternative colors for section themes

Alternative colors can be used to theme different parts of an app.

This app has three primary colors. Distinct themes are used in different parts of the app, allowing users to better locate themselves within it.

Additional colors for data visualization

Apps can use additional colors to convey categories that are outside of your main color theme. They are still a part of your full color palette.

This app has a color theme with five additional colors, which it uses when multiple data visualizations are shown on the same page.

  1. The Accounts section uses green
  2. The Bills section uses orange and yellow
  3. The Budget section uses purple and blue

Tools for picking colors

Material palette generator

The Material palette generator can be used to generate a palette for any color you input. An algorithmic adjustment of hue, chroma, and lightness creates palettes that are both usable and aesthetically pleasing.

Input colors

Color palettes can be generated based on the primary input color, and whether the desired palette should be analogous, complementary, or triadic in relation to the primary color. Alternatively, the tool can generate expanded palettes for any primary and secondary color input.

Color variations for accessibility

These palettes provide additional ways to use your primary and secondary colors, by providing lighter and darker options to separate surfaces and provide colors that meet accessibility standards.

launch
Material palette generator

2014 Material Design color palettes

These color palettes, originally created by Material Design in 2014, comprises of colors designed to work together harmoniously, and can be used to develop your brand palette. To generate your own harmonious palettes, use either the palette generation tool or Material Theme Editor.

  • Red
    500
    #F44336
    RGB(244, 67, 54)
  • 50
    #FFEBEE
    RGB(255, 235, 238)
  • 100
    #FFCDD2
    RGB(255, 205, 210)
  • 200
    #EF9A9A
    RGB(239, 154, 154)
  • 300
    #E57373
    RGB(229, 115, 115)
  • 400
    #EF5350
    RGB(239, 83, 80)
  • 500
    #F44336
    RGB(244, 67, 54)
  • 600
    #E53935
    RGB(229, 57, 53)
  • 700
    #D32F2F
    RGB(211, 47, 47)
  • 800
    #C62828
    RGB(198, 40, 40)
  • 900
    #B71C1C
    RGB(183, 28, 28)
  • A100
    #FF8A80
    RGB(255, 138, 128)
  • A200
    #FF5252
    RGB(255, 82, 82)
  • A400
    #FF1744
    RGB(255, 23, 68)
  • A700
    #D50000
    RGB(213, 0, 0)
  • Pink
    500
    #E91E63
    RGB(233, 30, 99)
  • 50
    #FCE4EC
    RGB(252, 228, 236)
  • 100
    #F8BBD0
    RGB(248, 187, 208)
  • 200
    #F48FB1
    RGB(244, 143, 177)
  • 300
    #F06292
    RGB(240, 98, 146)
  • 400
    #EC407A
    RGB(236, 64, 122)
  • 500
    #E91E63
    RGB(233, 30, 99)
  • 600
    #D81B60
    RGB(216, 27, 96)
  • 700
    #C2185B
    RGB(194, 24, 91)
  • 800
    #AD1457
    RGB(173, 20, 87)
  • 900
    #880E4F
    RGB(136, 14, 79)
  • A100
    #FF80AB
    RGB(255, 128, 171)
  • A200
    #FF4081
    RGB(255, 64, 129)
  • A400
    #F50057
    RGB(245, 0, 87)
  • A700
    #C51162
    RGB(197, 17, 98)
  • Purple
    500
    #9C27B0
    RGB(156, 39, 176)
  • 50
    #F3E5F5
    RGB(243, 229, 245)
  • 100
    #E1BEE7
    RGB(225, 190, 231)
  • 200
    #CE93D8
    RGB(206, 147, 216)
  • 300
    #BA68C8
    RGB(186, 104, 200)
  • 400
    #AB47BC
    RGB(171, 71, 188)
  • 500
    #9C27B0
    RGB(156, 39, 176)
  • 600
    #8E24AA
    RGB(142, 36, 170)
  • 700
    #7B1FA2
    RGB(123, 31, 162)
  • 800
    #6A1B9A
    RGB(106, 27, 154)
  • 900
    #4A148C
    RGB(74, 20, 140)
  • A100
    #EA80FC
    RGB(234, 128, 252)
  • A200
    #E040FB
    RGB(224, 64, 251)
  • A400
    #D500F9
    RGB(213, 0, 249)
  • A700
    #AA00FF
    RGB(170, 0, 255)
  • Deep Purple
    500
    #673AB7
    RGB(103, 58, 183)
  • 50
    #EDE7F6
    RGB(237, 231, 246)
  • 100
    #D1C4E9
    RGB(209, 196, 233)
  • 200
    #B39DDB
    RGB(179, 157, 219)
  • 300
    #9575CD
    RGB(149, 117, 205)
  • 400
    #7E57C2
    RGB(126, 87, 194)
  • 500
    #673AB7
    RGB(103, 58, 183)
  • 600
    #5E35B1
    RGB(94, 53, 177)
  • 700
    #512DA8
    RGB(81, 45, 168)
  • 800
    #4527A0
    RGB(69, 39, 160)
  • 900
    #311B92
    RGB(49, 27, 146)
  • A100
    #B388FF
    RGB(179, 136, 255)
  • A200
    #7C4DFF
    RGB(124, 77, 255)
  • A400
    #651FFF
    RGB(101, 31, 255)
  • A700
    #6200EA
    RGB(98, 0, 234)
  • Indigo
    500
    #3F51B5
    RGB(63, 81, 181)
  • 50
    #E8EAF6
    RGB(232, 234, 246)
  • 100
    #C5CAE9
    RGB(197, 202, 233)
  • 200
    #9FA8DA
    RGB(159, 168, 218)
  • 300
    #7986CB
    RGB(121, 134, 203)
  • 400
    #5C6BC0
    RGB(92, 107, 192)
  • 500
    #3F51B5
    RGB(63, 81, 181)
  • 600
    #3949AB
    RGB(57, 73, 171)
  • 700
    #303F9F
    RGB(48, 63, 159)
  • 800
    #283593
    RGB(40, 53, 147)
  • 900
    #1A237E
    RGB(26, 35, 126)
  • A100
    #8C9EFF
    RGB(140, 158, 255)
  • A200
    #536DFE
    RGB(83, 109, 254)
  • A400
    #3D5AFE
    RGB(61, 90, 254)
  • A700
    #304FFE
    RGB(48, 79, 254)
  • Blue
    500
    #2196F3
    RGB(33, 150, 243)
  • 50
    #E3F2FD
    RGB(227, 242, 253)
  • 100
    #BBDEFB
    RGB(187, 222, 251)
  • 200
    #90CAF9
    RGB(144, 202, 249)
  • 300
    #64B5F6
    RGB(100, 181, 246)
  • 400
    #42A5F5
    RGB(66, 165, 245)
  • 500
    #2196F3
    RGB(33, 150, 243)
  • 600
    #1E88E5
    RGB(30, 136, 229)
  • 700
    #1976D2
    RGB(25, 118, 210)
  • 800
    #1565C0
    RGB(21, 101, 192)
  • 900
    #0D47A1
    RGB(13, 71, 161)
  • A100
    #82B1FF
    RGB(130, 177, 255)
  • A200
    #448AFF
    RGB(68, 138, 255)
  • A400
    #2979FF
    RGB(41, 121, 255)
  • A700
    #2962FF
    RGB(41, 98, 255)
  • Light Blue
    500
    #03A9F4
    RGB(3, 169, 244)
  • 50
    #E1F5FE
    RGB(225, 245, 254)
  • 100
    #B3E5FC
    RGB(179, 229, 252)
  • 200
    #81D4FA
    RGB(129, 212, 250)
  • 300
    #4FC3F7
    RGB(79, 195, 247)
  • 400
    #29B6F6
    RGB(41, 182, 246)
  • 500
    #03A9F4
    RGB(3, 169, 244)
  • 600
    #039BE5
    RGB(3, 155, 229)
  • 700
    #0288D1
    RGB(2, 136, 209)
  • 800
    #0277BD
    RGB(2, 119, 189)
  • 900
    #01579B
    RGB(1, 87, 155)
  • A100
    #80D8FF
    RGB(128, 216, 255)
  • A200
    #40C4FF
    RGB(64, 196, 255)
  • A400
    #00B0FF
    RGB(0, 176, 255)
  • A700
    #0091EA
    RGB(0, 145, 234)
  • Cyan
    500
    #00BCD4
    RGB(0, 188, 212)
  • 50
    #E0F7FA
    RGB(224, 247, 250)
  • 100
    #B2EBF2
    RGB(178, 235, 242)
  • 200
    #80DEEA
    RGB(128, 222, 234)
  • 300
    #4DD0E1
    RGB(77, 208, 225)
  • 400
    #26C6DA
    RGB(38, 198, 218)
  • 500
    #00BCD4
    RGB(0, 188, 212)
  • 600
    #00ACC1
    RGB(0, 172, 193)
  • 700
    #0097A7
    RGB(0, 151, 167)
  • 800
    #00838F
    RGB(0, 131, 143)
  • 900
    #006064
    RGB(0, 96, 100)
  • A100
    #84FFFF
    RGB(132, 255, 255)
  • A200
    #18FFFF
    RGB(24, 255, 255)
  • A400
    #00E5FF
    RGB(0, 229, 255)
  • A700
    #00B8D4
    RGB(0, 184, 212)
  • Teal
    500
    #009688
    RGB(0, 150, 136)
  • 50
    #E0F2F1
    RGB(224, 242, 241)
  • 100
    #B2DFDB
    RGB(178, 223, 219)
  • 200
    #80CBC4
    RGB(128, 203, 196)
  • 300
    #4DB6AC
    RGB(77, 182, 172)
  • 400
    #26A69A
    RGB(38, 166, 154)
  • 500
    #009688
    RGB(0, 150, 136)
  • 600
    #00897B
    RGB(0, 137, 123)
  • 700
    #00796B
    RGB(0, 121, 107)
  • 800
    #00695C
    RGB(0, 105, 92)
  • 900
    #004D40
    RGB(0, 77, 64)
  • A100
    #A7FFEB
    RGB(167, 255, 235)
  • A200
    #64FFDA
    RGB(100, 255, 218)
  • A400
    #1DE9B6
    RGB(29, 233, 182)
  • A700
    #00BFA5
    RGB(0, 191, 165)
  • Green
    500
    #4CAF50
    RGB(76, 175, 80)
  • 50
    #E8F5E9
    RGB(232, 245, 233)
  • 100
    #C8E6C9
    RGB(200, 230, 201)
  • 200
    #A5D6A7
    RGB(165, 214, 167)
  • 300
    #81C784
    RGB(129, 199, 132)
  • 400
    #66BB6A
    RGB(102, 187, 106)
  • 500
    #4CAF50
    RGB(76, 175, 80)
  • 600
    #43A047
    RGB(67, 160, 71)
  • 700
    #388E3C
    RGB(56, 142, 60)
  • 800
    #2E7D32
    RGB(46, 125, 50)
  • 900
    #1B5E20
    RGB(27, 94, 32)
  • A100
    #B9F6CA
    RGB(185, 246, 202)
  • A200
    #69F0AE
    RGB(105, 240, 174)
  • A400
    #00E676
    RGB(0, 230, 118)
  • A700
    #00C853
    RGB(0, 200, 83)
  • Light Green
    500
    #8BC34A
    RGB(139, 195, 74)
  • 50
    #F1F8E9
    RGB(241, 248, 233)
  • 100
    #DCEDC8
    RGB(220, 237, 200)
  • 200
    #C5E1A5
    RGB(197, 225, 165)
  • 300
    #AED581
    RGB(174, 213, 129)
  • 400
    #9CCC65
    RGB(156, 204, 101)
  • 500
    #8BC34A
    RGB(139, 195, 74)
  • 600
    #7CB342
    RGB(124, 179, 66)
  • 700
    #689F38
    RGB(104, 159, 56)
  • 800
    #558B2F
    RGB(85, 139, 47)
  • 900
    #33691E
    RGB(51, 105, 30)
  • A100
    #CCFF90
    RGB(204, 255, 144)
  • A200
    #B2FF59
    RGB(178, 255, 89)
  • A400
    #76FF03
    RGB(118, 255, 3)
  • A700
    #64DD17
    RGB(100, 221, 23)
  • Lime
    500
    #CDDC39
    RGB(205, 220, 57)
  • 50
    #F9FBE7
    RGB(249, 251, 231)
  • 100
    #F0F4C3
    RGB(240, 244, 195)
  • 200
    #E6EE9C
    RGB(230, 238, 156)
  • 300
    #DCE775
    RGB(220, 231, 117)
  • 400
    #D4E157
    RGB(212, 225, 87)
  • 500
    #CDDC39
    RGB(205, 220, 57)
  • 600
    #C0CA33
    RGB(192, 202, 51)
  • 700
    #AFB42B
    RGB(175, 180, 43)
  • 800
    #9E9D24
    RGB(158, 157, 36)
  • 900
    #827717
    RGB(130, 119, 23)
  • A100
    #F4FF81
    RGB(244, 255, 129)
  • A200
    #EEFF41
    RGB(238, 255, 65)
  • A400
    #C6FF00
    RGB(198, 255, 0)
  • A700
    #AEEA00
    RGB(174, 234, 0)
  • Yellow
    500
    #FFEB3B
    RGB(255, 235, 59)
  • 50
    #FFFDE7
    RGB(255, 253, 231)
  • 100
    #FFF9C4
    RGB(255, 249, 196)
  • 200
    #FFF59D
    RGB(255, 245, 157)
  • 300
    #FFF176
    RGB(255, 241, 118)
  • 400
    #FFEE58
    RGB(255, 238, 88)
  • 500
    #FFEB3B
    RGB(255, 235, 59)
  • 600
    #FDD835
    RGB(253, 216, 53)
  • 700
    #FBC02D
    RGB(251, 192, 45)
  • 800
    #F9A825
    RGB(249, 168, 37)
  • 900
    #F57F17
    RGB(245, 127, 23)
  • A100
    #FFFF8D
    RGB(255, 255, 141)
  • A200
    #FFFF00
    RGB(255, 255, 0)
  • A400
    #FFEA00
    RGB(255, 234, 0)
  • A700
    #FFD600
    RGB(255, 214, 0)
  • Amber
    500
    #FFC107
    RGB(255, 193, 7)
  • 50
    #FFF8E1
    RGB(255, 248, 225)
  • 100
    #FFECB3
    RGB(255, 236, 179)
  • 200
    #FFE082
    RGB(255, 224, 130)
  • 300
    #FFD54F
    RGB(255, 213, 79)
  • 400
    #FFCA28
    RGB(255, 202, 40)
  • 500
    #FFC107
    RGB(255, 193, 7)
  • 600
    #FFB300
    RGB(255, 179, 0)
  • 700
    #FFA000
    RGB(255, 160, 0)
  • 800
    #FF8F00
    RGB(255, 143, 0)
  • 900
    #FF6F00
    RGB(255, 111, 0)
  • A100
    #FFE57F
    RGB(255, 229, 127)
  • A200
    #FFD740
    RGB(255, 215, 64)
  • A400
    #FFC400
    RGB(255, 196, 0)
  • A700
    #FFAB00
    RGB(255, 171, 0)
  • Orange
    500
    #FF9800
    RGB(255, 152, 0)
  • 50
    #FFF3E0
    RGB(255, 243, 224)
  • 100
    #FFE0B2
    RGB(255, 224, 178)
  • 200
    #FFCC80
    RGB(255, 204, 128)
  • 300
    #FFB74D
    RGB(255, 183, 77)
  • 400
    #FFA726
    RGB(255, 167, 38)
  • 500
    #FF9800
    RGB(255, 152, 0)
  • 600
    #FB8C00
    RGB(251, 140, 0)
  • 700
    #F57C00
    RGB(245, 124, 0)
  • 800
    #EF6C00
    RGB(239, 108, 0)
  • 900
    #E65100
    RGB(230, 81, 0)
  • A100
    #FFD180
    RGB(255, 209, 128)
  • A200
    #FFAB40
    RGB(255, 171, 64)
  • A400
    #FF9100
    RGB(255, 145, 0)
  • A700
    #FF6D00
    RGB(255, 109, 0)
  • Deep Orange
    500
    #FF5722
    RGB(255, 87, 34)
  • 50
    #FBE9E7
    RGB(251, 233, 231)
  • 100
    #FFCCBC
    RGB(255, 204, 188)
  • 200
    #FFAB91
    RGB(255, 171, 145)
  • 300
    #FF8A65
    RGB(255, 138, 101)
  • 400
    #FF7043
    RGB(255, 112, 67)
  • 500
    #FF5722
    RGB(255, 87, 34)
  • 600
    #F4511E
    RGB(244, 81, 30)
  • 700
    #E64A19
    RGB(230, 74, 25)
  • 800
    #D84315
    RGB(216, 67, 21)
  • 900
    #BF360C
    RGB(191, 54, 12)
  • A100
    #FF9E80
    RGB(255, 158, 128)
  • A200
    #FF6E40
    RGB(255, 110, 64)
  • A400
    #FF3D00
    RGB(255, 61, 0)
  • A700
    #DD2C00
    RGB(221, 44, 0)
  • Brown
    500
    #795548
    RGB(121, 85, 72)
  • 50
    #EFEBE9
    RGB(239, 235, 233)
  • 100
    #D7CCC8
    RGB(215, 204, 200)
  • 200
    #BCAAA4
    RGB(188, 170, 164)
  • 300
    #A1887F
    RGB(161, 136, 127)
  • 400
    #8D6E63
    RGB(141, 110, 99)
  • 500
    #795548
    RGB(121, 85, 72)
  • 600
    #6D4C41
    RGB(109, 76, 65)
  • 700
    #5D4037
    RGB(93, 64, 55)
  • 800
    #4E342E
    RGB(78, 52, 46)
  • 900
    #3E2723
    RGB(62, 39, 35)
  • Grey
    500
    #9E9E9E
    RGB(158, 158, 158)
  • 50
    #FAFAFA
    RGB(250, 250, 250)
  • 100
    #F5F5F5
    RGB(245, 245, 245)
  • 200
    #EEEEEE
    RGB(238, 238, 238)
  • 300
    #E0E0E0
    RGB(224, 224, 224)
  • 400
    #BDBDBD
    RGB(189, 189, 189)
  • 500
    #9E9E9E
    RGB(158, 158, 158)
  • 600
    #757575
    RGB(117, 117, 117)
  • 700
    #616161
    RGB(97, 97, 97)
  • 800
    #424242
    RGB(66, 66, 66)
  • 900
    #212121
    RGB(33, 33, 33)
  • Blue Grey
    500
    #607D8B
    RGB(96, 125, 139)
  • 50
    #ECEFF1
    RGB(236, 239, 241)
  • 100
    #CFD8DC
    RGB(207, 216, 220)
  • 200
    #B0BEC5
    RGB(176, 190, 197)
  • 300
    #90A4AE
    RGB(144, 164, 174)
  • 400
    #78909C
    RGB(120, 144, 156)
  • 500
    #607D8B
    RGB(96, 125, 139)
  • 600
    #546E7A
    RGB(84, 110, 122)
  • 700
    #455A64
    RGB(69, 90, 100)
  • 800
    #37474F
    RGB(55, 71, 79)
  • 900
    #263238
    RGB(38, 50, 56)
  • Black
    #000000
    RGB(0, 0, 0)
  • White
    #FFFFFF
    RGB(255, 255, 255)

Each of these colors is defined with a base color css class and an optional lighten or darken class.

Search engine
Google
When device is locked
Show all notification content
Start time
10:00 AM

Text color

<div class="deep-purple">
    ...
</div>
<div class="deep-purple-300">
    ...
</div>
<div class="deep-purple-100">
    ...
</div>
Search engine
Google
When device is locked
Show all notification content
Start time
10:00 AM

Background color

<div class="bg-deep-purple">
    ...
</div>
<div class="bg-deep-purple-300">
    ...
</div>
<div class="bg-deep-purple-100">
    ...
</div>