A colour scheme refers to a predefined palette of colours chosen to ensure consistency and coherence across all elements of a user interface.
In WFP Design System it includes a primary colour (WFP Blue), a secondary colour (Dark Blue) and neutral colours (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 colour (WFP Blue) is the dominant colour used for key elements and actions in the user interface, providing hierarchy and emphasis. Secondary UI colour (Dark Blue) complements the primary colour, 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: