A color scheme refers to a predefined palette of colors chosen to ensure consistency and coherence across all elements of a user interface.
In WFP Design System it includes a primary color (WFP Blue), a secondary color (Dark Blue) and neutral colors (Neutral).
Guidelines for their usage help to maintain visual harmony and aid in conveying information effectively.
The three main colours come with a lighter and darker shade to give a little variety in the visual composition.
Primary UI color (WFP Blue) is the dominant color used for key elements and actions in the user interface, providing hierarchy and emphasis. Secondary UI color (Dark Blue) complements the primary color, used for less prominent elements and to provide visual variety.
When to use it:
When designing an interface keep in mind an ideal 60-30-10 proportion between colours.
WFP Design System adopt a Material Design approach to visual composition with a flat usage of the colour scheme avoiding shadows and elevations.
According to the Web Content Accessibility Guidelines (WCAG), there are specific contrast ratios that should be met between text and its background for readability. The minimum required contrast ratios are: