Digital design

This is where you'll find digital design guidelines and user interface patterns for web and mobile
About our Digital design system

Core Brand Guidelines

Styles

The Styles section contains the core components of the Mastercard brand expression with additional considerations for digital experiences.

For more detail, refer to the Brand Design Style Guide.

Brand mark

Configurations

Horizontal and vertical configurations are available for use in digital applications.

mastercard logo

Horizontal

mastercard logo

Vertical

Placement

The brand mark should be aligned to the left. When space is limited, such as in mobile applications, the Mastercard wordmark can be omitted.

mastercard desktop header

Desktop

mastercard mobile header

Mobile

mastercard mobile header wrong

Minimum sizes

The brand mark should never be displayed smaller than specific sizes to ensure legibility:

Never use the horizontal brand mark smaller than 120-pixels in width

Never use the vertical brand mark smaller than 86-pixels in width

mastercard mobile header

Horizontal brand mark, 120-pixels in width

mastercard mobile header wrong

Vertical brand mark, 86-pixels in width

Lockups

When locking up words to the brand mark in headings, provide a separation space equal to the width of a capital N.

mastercard logo spacing
mastercard logo spacing

Backgrounds

The brand mark should always appear on backgrounds with sufficient contrast. Avoid colored backgrounds that cause the mark to disappear or vibrate.

mastercard backgrounds wrong
mastercard backgrounds wrong

Incorrect usage

Always use approved artwork for the brand mark, and never alter it in any way. Be sure the file you’re using displays at the correct resolution.

mastercard backgrounds wrong
mastercard backgrounds wrong

Colors

The Mastercard brand palette consists of simple, clear colors that feel modern and warm, and impart a sense of sophistication. The palette should be used for all digital Mastercard communications and experiences.

For more detail, refer to the Brand Design Style Guide.

Core Principles

Accessibility

Digital experiences should be accessible to users of all abilities, including those with low vision, blindness, hearing impairments, cognitive impairments, or motor impairments. Improving accessibility enhances usability for everyone.

Simplicity

By letting neutral backgrounds dominate and limiting the use of color, you’ll achieve the simplicity that makes Mastercard communications feel open and smart. Work with shades or tints of a single hue rather than multiple colors.

Contrast

Use color to communicate, not decorate. Spare use of the secondary and accent colors can direct the eye to something important, or help delineate the hierarchy of information. The color contrast ratio for text and interactive elements should be at least 4.5:1 for normal text and 3:1 for large text as recommended in the W3C accessibility standards.

Balance

Red, orange, and gold—the primary and secondary colors of the Mastercard brand palette—are muted versions of the brand mark colors. They are balanced to feel welcoming and warm, while at the same time, worldly and dynamic.

mastercard core principles grid

Primary

Our primary brand color is a muted version drawn from the center overlap of the brand mark.

Orange #ff671b

Secondary colors

Our secondary brand colors are muted versions of the left and right circles of the brand mark.

Gold #f38b00
Yellow #ffc81f
Green #8db92e

Background colors

White and warm gray backgrounds tend to feel inclusive, relatable, and modern. Dark gray backgrounds impart feelings of sophistication and are more assertive.

White background is preferred for most digital situations. Dark backgrounds can be used to add emphasis or contrast, however, avoid situations with all dark backgrounds.

White #ffffff
Light gray #e3dfd7
Dark gray #141413

Color balance

Our primary brand color is a muted version drawn from the center overlap of the brand mark.

mastercard color balance image
mastercard color balance grid

Background
White and light gray

Text
Dark gray

mastercard color balance image
mastercard color balance grid

Background
White and light grays

Text
Dark gray and primary orange

Typography

Typography should be direct and legible, while at the same time it should feel light on the page. Always assess the balance between blocks of type and the surrounding open space to engage the reader with a sense of ease.

For more detail, refer to the Brand Design Style Guide.

For code refer to UI patterns

Mark for MC

Use Mark for MC for text slightly larger than 14-pixels in all digital applications.

mastercard mark mc type sizing

Mark for MC Narrow

Use Mark for MC Narrow for text smaller or equal to 14-pixels in all digital applications. It provides greater legibility for body copy, tight columns, or charts. 12-pixels is the minimum size for Narrow.

mastercard mark mc type sizing

System fonts

Use Helvetica on the Mac platform and Arial on the PC platform when the Mark font is unavailable.

Weights

As the size of the type increases, its weight should decrease. This helps provide an open, light feeling to the application.

mastercard font weight extralight

Extra Light

mastercard font weight light

Light

mastercard font weight light2

Light

mastercard font weight regular

Regular

mastercard font weight book

Book

Color

Always be sure there is sufficient contrast between the background and typography. In most situations, type should be white, medium gray or dark gray. Use color sparingly, such as only for buttons and links.

White #ffffff
Medium gray #74726e
Dark gray #141413
mastercard typography page example

Example of contrast between the background and typography

Brand circles

The brand circles design system unifies our communications and experiences in a way that’s both proprietary and instantly recognizable as the Mastercard brand. Brand circles work with any type of imagery, or can stand on their own as graphical illustrations.

For more detail, refer to the Brand Design Style Guide.

Usage

The brand circles design system consists of six different configurations shown here.

To create any of these configurations in your application, refer to Section 6 of the Brand Design Style Guide for detailed instructions. Do not attempt to replicate any of the configurations from the examples in this guide.

mastercard brandcircles a
mastercard brandcircles b
mastercard brandcircles c
mastercard brandcircles d
mastercard brandcircles e
mastercard brandcircles f

Brand circles work well for hero modules, with or without imagery. They can help draw the eye to a primary headline or provide visual interest to a starting point. However, be sure not to overuse brand circles. Generally, one use in an application is enough.

mastercard brand circles hero page example

Brand circles can be used as page elements, though they should always be used sparingly. Just as we limit the use of color so that its impact serves a specific communications intent, brand circles also should only be used selectively.

mastercard brand circles elements usage example

Contrast

Be sure there is sufficient contrast when using typography with brand bircles. The color contrast ratio for text and interactive elements should be at least 4.5:1 for normal text and 3:1 for large text as recommended in the W3C accessibility standards.

In digital applications, white type on darker shades works best in the brand circles configurations. Generally, avoid using dark type on color tints.

mastercard brand circles contrast example
mastercard brand circles contrast example
mastercard brand circles contrast example
mastercard brand circles contrast example