Colors

Intro

Color sets the visual balance of SAP Fiori for Android apps. On screen, color is used to define the visual hierarchy of UI elements and to direct the user’s attention to complete their tasks.

Horizon Theme Color Palette

The Horizon color palette introduces a unified color palette that brings our brand and products together to achieve a cohesive experience across all SAP touchpoints. The Horizon color palette is designed to provide bold and vibrant color while remaining accessible in instances with complex UIs.

Horizon color palette

Horizon color palette

UI Colors

UI colors are colors that are grouped based on their role or usage within the UI. This additional level of abstraction allows product teams to swap out the default Horizon theme with their own product colors. UI colors are grouped into the following color groups:

  • Surface colors
  • Text colors
  • Borders colors
  • Semantic colors
  • Accent colors

Surface Colors

Surface colors are colors applied to the background of all components. These colors contrast with all foreground colors and are the basis for the overall theme. Surface colors are identified by the letter S followed by a number sequence (e.g., S1, S2, S3) in our UI Kit.

Light Mode
Dark Mode
Name
Usage
#FFFFFF
Base White
#14171A
Base Dark
S0-Background
Base Background (0dp)
#FFFFFF
Base White
#7198BF
Base Dark with Overlay
S1-Primary
Elevated Surfaces (1dp-24dp)
#0070F2
Blue 7
#4DB1FF
Blue 5
S2-Secondary
Call-to-Action Elements
#12171C
Grey 11
#FFFFFF
Base White
S3-Tertiary
Snackbar Background
#F5F6F7
Grey 1
#5B738B
Grey 6
S4-Quarternary
Muted Backgrounds
#0070F2
Blue 7
, 8%
#4DB1FF
Blue 5
S5-Selected Surface
Selected Backgrounds
#FFFFFF
Base White
#7198BF
Base Dark with Overlay
S6-Header
Header Background
#5B738B
Grey 6
#A9B4BE
Grey 4
S7-Switch
Idle Switch Backgrounds
#475E75
Grey 7
#D5DADD
Grey 3
S8-Switch Selected
Selected Switch Backgrounds

Text Colors

Text colors are colors applied to the text and icons of all components. These colors range from neutral grey colors to interactive brand colors applied to text and icons. Text colors are identified by the letter T followed by a number sequence (e.g., T1, T2, T3).

Light Mode
Dark Mode
Name
Usage
#223548
Grey 9
#F5F6F7
Grey 1
T1-Main on Primary
Titles, Subtitles
#475E75
Grey 7
#D5DADD
Grey 3
T2-Support on Primary
Body Text, Caption
#5B738B
Grey 6
#A9B4BE
Grey 4
T3-Minor on Primary
Muted Text, Placeholder Text
#0070F2
Blue 7
#4DB1FF
Blue 5
T4-CTA on Primary
Tinted Text, Links, Interactive Icons
#FFFFFF
Base White
#12171C
Grey 11
T5-Main on Secondary
Text on S2-Secondary
#4DB1FF
Blue 5
#0070F2
Blue 7
T6-Main on Tertiary
Text on S3-Tertiary
#0057D2
Blue 8
#89D1FF
Blue 4
T7-Selected Text
Selected Text on S5-Selected Surface
#223548
Grey 9
#F5F6F7
Grey 1
T8-Main on Header
Titles, Subtitles on Header
#475E75
Grey 7
#D5DADD
Grey 3
T9-Secondary on Header
Body Text, Caption on Header
#5B738B
Grey 6
#A9B4BE
Grey 4
T10-Tertiary on Header
Muted Text, Placeholder Text on Header
#0070F2
Blue 7
#4DB1FF
Blue 5
T11 - CTA on Header
Tinted Text, Links, Interactive Icons on Header

Border Colors

Border colors are applied to any linear elements such as dividers or graphical elements used to define any areas within components. These colors range from neutral grey colors to interactive brand colors often used to communicate the state of a certain part of a component. Border colors are identified by the letter B followed by a number sequence (e.g., B1, B2, B3).

Light Mode
Dark Mode
Name
Usage
#D5DADD
Grey 3
#5B738B
Grey 6
50%
B1-Section Divider
Divider Lines
#8396A8
Grey 5
#8396A8
Grey 5
B2-Default Border
Text Field Borders
#0070F2
Blue 7
#4DB1FF
Blue 5
B3-Selected Border
Selected Text Field Borders
#0070F2
Blue 7
, 28%
#4DB1FF
Blue 5
, 36%
B4-Light Selected Border
Transparent Selected Borders
#5B738B
Grey 6
#A9B4BE
Grey 4
B5-Border Switch
Idle Switch Borders

Semantic Colors

Semantic colors are applied to any foreground or background elements such as text, icons, or backgrounds to communicate a component’s status, state, or level of priority. These colors are bright in hue to direct the user’s attention to a certain component or part of the UI. Semantic colors are identified by the following naming (e.g., negative label, critical label, positive label, and neutral label).

Light Mode
Dark Mode
Name
Usage
#D20A0A
Red 7
#FF5C77
Red 5
Negative Label
Semantic Label
#C35500
Mango 7
#FFB300
Mango 5
Critical Label
Semantic Label
#188918
Green 7
#5DC122
Green 5
Positive Label
Semantic Label
#0070F2
Blue 7
#4DB1FF
Blue 5
Informative Label
Semantic Label
#5B738B
Grey 7
#A9B4BE
Grey 5
Neutral Label
Semantic Label
#EE3939
Red 6
, 8%
#EE3939
Red 6
, 12%
Negative Background
Semantic Background
#E76500
Mango 6
, 8%
#E76500
Mango 6
, 12%
Critical Background
Semantic Background
#36A41D
Green 6
, 8%
#36A41D
Green 6
, 12%
Positive Background
Semantic Background
#1B90FF
Blue 6
, 8%
#1B90FF
Blue 6
, 12%
Informational Background
Semantic Background
#5B738B
Grey 6
, 8%
#5B738B
Grey 6
, 12%
Neutral Background
Semantic Background

Accent Colors

Accent colors provide an additional level of color luminance and are used to accent areas of the UI such as avatars, icons, and decorative areas. These colors are bright in hue and provide visual variety to the UI. Accent colors are identified by the word “Accent” followed by a number sequence (e.g., Accent 1, Accent 2, Accent 3).

Light Mode
Dark Mode
Name
#A93E00
Mango 8
#FFDF72
Mango 3
Accent Label 1
#AA0808
Red 8
#FFB2D2
Red 3
Accent Label 2
#BA066C
Raspberry 8
#FECBDA
Raspberry 3
Accent Label 3
#A100C2
Pink 8
#FFAFED
Pink 3
Accent Label 4
#470CED
Indigo 8
#D3B6FF
Indigo 3
Accent Label 5
#0057D2
Blue 8
#A6E0FF
Blue 3
Accent Label 6
#046C7A
Teal 8
#64EDD2
Teal 3
Accent Label 7
#256F3A
Green 8
#BDE986
Green 3
Accent Label 8
#354A5F
Grey 8
#D5DADD
Grey 3
Accent Label 9
#FFF3B8
Mango 2
#8D2A00
Mango 9
Accent Background 1
#FFD5EA
Red 2
#840606
Red 4
Accent Background 2
#FFDCE8
Raspberry 2
#9B015D
Raspberry 3
Accent Background 3
#FFDCF3
Pink 2
#7800A4
Pink 3
Accent Background 4
#E2D8FF
Indigo 2
#2C13AD
Indigo 3
Accent Background 5
#D1EFFF
Blue 2
#0040B0
Blue 2
Accent Background 6
#C2FCEE
Teal 2
#035663
Teal 3
Accent Background 7
#EBF5CB
Green 2
#1E592F
Green 3
Accent Background 8
#EAECEE
Grey 2
#223548
Grey 3
Accent Background 9

Accessibility

The Horizon theme color palette offers color mapping logic that is easy to understand. It introduces eleven tonal values across nine color hues of vibrant and bold color. Our Horizon theme color palette ensures that color combinations comply with WCAG accessibility standards.

For more information, see Accessibility.

Color contrast ratio scale

Color contrast ratio scale

Themes

The Android design system includes systemwide appearance settings for light and dark modes which use color consistently and sparingly.

Light Mode

Light mode is the default mode for the Android design system. Light mode is a bright UI that displays dark grey foreground elements and saturated accent colors against light surfaces. In light mode, neutral colors are used to make content readable, and accent colors are used sparingly to call attention to important information or show the relationship between parts of the interface. Lastly, light mode is best used in bright environments where battery life isn’t an issue.

Light mode example

Light mode example

Dark Mode

Dark mode is the secondary mode for the Android design system. Dark mode is a dim UI that displays white foreground elements and desaturated accent colors against dark surfaces. In dark mode, all component surfaces and backgrounds are dark grey in color with tonal variations depending on a component’s elevation. Lastly, dark mode preserves battery life (especially on OLED screens) by reducing the usage of light pixels, helpful in scenarios where the user needs to reduce battery consumption.

Dark mode example

Dark mode example

Resources

Development: Theming and Styling

SAP Fiori for iOS: Colors

Related Components/Patterns: Accessibility