A NSW Government website
Design System v3.2.4

Colour

🔹 Needed for NSW Government Branding

Colour plays an important role in creating a consistent and strong visual identify for NSW Government digital products and services.

Design System base colour theme

The design system contains a colour framework using NSW Government brand colours, which may be changed if your brand classification allows.

The default colours reflect masterbrand corporate colour usage. It uses blues, reds and greys from the NSW Government wider colour palette to communicate a strong association with NSW Government.

Instead of using specific hex colours, using the colour framework in the design system means your styles and components will automatically re-theme if you change your core brand colours. Guidance on further theming options are available for Designing and Developing.

Brand colours

Components and core styles inherit these colours to create a consistent yet flexible theme to optimise your user's experience. The default colour palette below reflects masterbrand corporate colour usage. Visit the theming gudiance for Designing and Developing for how you can adapt your brand colour palette based on your brand classification.

You don't need to use hex colours in code

Use either CSS variables (below) or, if you're creating a one-off layout, you can use our helper classes for dark, light, and supplementary colours.

By using CSS variables, any branding or theming changes will automatically reflect in your product. See CSS variables below, or see the Utility classes docs.

Swatch Colour Value (Hex) CSS variable

Brand Dark

Blue 01 (#002664)

--nsw-brand-dark

Brand Light

Blue 04 (#CBEDFD)

--nsw-brand-light

Brand Supplementary

Blue 02 (#146CFD)

--nsw-brand-supplementary

Brand Accent

Red 02 (#D7153A)

--nsw-brand-accent

Grey colours

Used for backgrounds, borders and divider lines to build contrast within content and components for a structured interface. Additional swatches of black and off white have been added to the digital palette to allow for greater contrast to be applied.

Swatch

Colour

Hex value

CSS variable

Black

#000000

--nsw-palette-black

Grey 01

#22272B

--nsw-palette-grey-01

Grey 02

#495054 --nsw-palette-grey-02
Grey 03 #CDD3D6 --nsw-palette-grey-03
Grey 04 #EBEBEB --nsw-palette-grey-04

Off white

#F2F2F2

--nsw-palette-off-white

White

#FFFFFF

--nsw-palette-white

Text colours

This set of text colours have a ratio of at least 4.5:1 (or 3:1 for text larger than 18 point) to met Web Content Accessibility Guidelines (WCAG 2.1).

Interaction colours are in addition to the NSW Government colour palette to maintain consistent and accessible text and not conflict with brand colours.

Swatch

Colour

Hex value

CSS variable

Text dark
For use on light backgrounds

#22272B

--nsw-text-dark

Text light
For use on dark backgrounds

#FFFFFF

--nsw-text-light

Text focus

#0085B3

--nsw-focus

Text hover background

rgb(0, 133, 179, 0.2)

--nsw-text-hover-bg

Text visited

#551A8B

--nsw-text-visited

Status colours

Status colours are only to be used when providing contextual or transactional feedback to the user. Refer to individual colours below for when each should be used. Components using these colours also contain usage guidance.

These are in addition to the NSW Government colour palette to maintain a strong connection to their status and not conflict with brand colours. They should not be used outside their status meaning.

Swatch

Colour

Hex value

CSS variable

Info Blue
Highlight non-critical information

#2E5299

--nsw-status-info-blue

Info Blue Bg

#EAEDF4

--nsw-status-info-blue-bg

Success Green
Communicate a successful action

#00A908

--nsw-status-success-green

Success Green Bg

#E5F6E6

--nsw-status-success-green-bg

Warning Orange
Warn of possible negative outcome

#DC5800

--nsw-status-warning-orange

Warning Orange Bg

#FBEEE5

--nsw-status-warning-orange-bg 

Error Red
Alert of an immediate error or blocker

#B81237 --nsw-status-error-red

Error Red Bg

#F7E7EB --nsw-status-error-red-bg

NSW Government colour palette

Use these colours to create your own NSW Design System theme. See theming guidance for designers or theming guidance for developers.

Swatch

Colour

Hex value

CSS variable

Grey 01

#22272B

--nsw-palette-grey-01

Grey 02

#495054

--nsw-palette-grey-02

Grey 03

#CDD3D6

--nsw-palette-grey-03

Grey 04

#EBEBEB

--nsw-palette-grey-04

Green 01

#004000

--nsw-palette-green-01

Green 02

#00AA45

--nsw-palette-green-02

Green 03

#A8EDB3

--nsw-palette-green-03

Green 04

#DBFADF

--nsw-palette-green-04

Teal 01

#0B3F47

--nsw-palette-teal-01

Teal 02

#2E808E

--nsw-palette-teal-02

Teal 03

#8CDBE5

--nsw-palette-teal-03

Teal 04

#D1EEEA

--nsw-palette-teal-04

Blue 01

#002664

--nsw-palette-blue-01

Blue 02

#146CFD

--nsw-palette-blue-02

Blue 03

#8CE0FF

--nsw-palette-blue-03

Blue 04

#CBEDFD

--nsw-palette-blue-04

Purple 01

#441170

--nsw-palette-purple-01

Purple 02

#8055F1

--nsw-palette-purple-02

Purple 03

#CEBFFF

--nsw-palette-purple-03

Purple 04

#E6E1FD

--nsw-palette-purple-04

Pink 01

#65004D

--nsw-palette-pink-01

Pink 02

#D912AE

--nsw-palette-pink-02

Pink 03

#F4B5E6

--nsw-palette-pink-03

Pink 04

#FDDEF2

--nsw-palette-pink-04

Red 01

#630019

--nsw-palette-red-01

Red 02

#D7153A

--nsw-palette-red-02

Red 03

#FFB8C1

--nsw-palette-red-03

Red 04

#FFE6EA

--nsw-palette-red-04

Orange 01

#941B00

--nsw-palette-orange-01

Orange 02

#F3631B

--nsw-palette-orange-02

Orange 03

#FFCE99

--nsw-palette-orange-03

Orange 04

#FDEDDF

--nsw-palette-orange-04

Yellow 01

#694800

--nsw-palette-yellow-01

Yellow 02

#FAAF05

--nsw-palette-yellow-02

Yellow 03

#FDE79A

--nsw-palette-yellow-03

Yellow 04

#FFF4CF

--nsw-palette-yellow-04

Brown 01

#523719

--nsw-palette-brown-01

Brown 02

#B68D5D

--nsw-palette-brown-02

Brown 03

#E8D0B5

--nsw-palette-brown-03

Brown 04

#EDE3D7

--nsw-palette-brown-04

White

#FFFFFF

--nsw-palette-white