Colour Palettes
About
Below are the list of Transport for West Midlands colour palettes.
We have tested our colours against the three most prevalent colour blind anomalies: protanopia, deuteranopia and tritanopia. While in some circumstances, particularly protanopia, colours can appear to be relatively similar.
These issues can be circumvented by not referring to specific colours. For instance, when referring to a green button with the word 'start' in, the phrase 'click the green button to start' would not be helpful. Instead, use 'click the start button', without a colour reference.
W3C AA Accessibility criteria requires the contrast of test to be enhanced, with a contrast ratio upwards of 3:1.
All brand/web colours meet this criteria, though the modal colour 'WM Railway' must only be used for iconography and graphical devices.
The background only colours can only be used as a background colour and they are not intended for any other use.
Using in development
WMNDS SCSS
If you are using WMN Design System's SCSS in development, you shouldn't use the HEX values! Instead you should always use the scss variables instead, for example use get-color(primary)
instead of #3c1053
. This ensures you are always using the most up-to-date colour. To find out more on how to use the get-color()
function in SCSS, please refer to the notes for @function get-color()
in _mixins.scss.
Without WMNDS SCSS
If you are not using WMN Design System's SCSS then it is recommended to use the hex values below. It is highly adviseable to set these up as variables in your development enviornment, this ensures that you can easily change them to keep up-to-date with our colour palettes.
If you'd like to see how we have set the variables up, you can check out $palettes
in _vars.scss and @function get-color()
in _mixins.scss.
Brand colours
Primary Purple
// HEX
// SCSS VAR
$get-color(primary);
Secondary Purple
// HEX
// SCSS VAR
$get-color(secondary);
Modal colours
Bus
// HEX
// SCSS VAR
$get-color(bus);
Metro
// HEX
// SCSS VAR
$get-color(metro);
WM Railway
// HEX
// SCSS VAR
$get-color(railway);
Sustainable Travel
// HEX
// SCSS VAR
$get-color(susTravel);
Roads
// HEX
// SCSS VAR
$get-color(roads);
Web colours
Text
// HEX
// SCSS VAR
$get-color(text);
Call to Action
// HEX
// SCSS VAR
$get-color(cta);
Error
// HEX
// SCSS VAR
$get-color(error);
Warning
// HEX
// SCSS VAR
$get-color(warning);
Success
// HEX
// SCSS VAR
$get-color(success);
Information
// HEX
// SCSS VAR
$get-color(information);
Background only colours
Planned Disruption
// HEX
// SCSS VAR
$get-color(plannedDisruption);
Disabled Elements
// HEX
// SCSS VAR
$get-color(disable);
Background
// HEX
// SCSS VAR
$get-color(background);