SiteStyleGuide

Unofficial A style guide made by SiteStyleGuide from nsw.gov.au’s public web pages. Not affiliated with or endorsed by NSW Government. The real site is nsw.gov.au ↗

NSW Government logo

Unofficial style guide

NSW Governmentstyle guide

NSW Government’s website (nsw.gov.au) uses Public Sans for its headings and body text. Its palette is led by Midnight Blue (#002664), Light Blue (#CBEDFD) and Brown (#B81237), with #22272B text on #FFFFFF. Captured from the live site on 21 October 2026.

Website
nsw.gov.au
Typefaces
Public Sans
Palette
4 neutrals, 11 colours, 3 gradients
Captured
21 Oct 2026 · added by @sitestyleguide
https://www.nsw.gov.au/ Screenshot
Screenshot of the nsw.gov.au homepage on a desktop screen
Screenshot of nsw.gov.au on a 1440 px desktop screen, 21 Oct 2026.

Identity & metadata

What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.

Title &
description

Page title
NSW Government
● 14 / 60 characters
Meta description
Missing
▲ 0 / 160 characters
Site name
NSW Government
og:title
NSW Government
Language
en
Theme colour
#ffffff

In search results

NSW Governmenthttps://www.nsw.gov.au/

NSW Government

When shared

The image NSW Government shares with links

nsw.gov.au

NSW Government

Back to top ↑

Colour

Read from the site’s stylesheets and weighted by where each colour is used. Names are the nearest standard colour name. Click a swatch to copy its hex code.

Contrast is against the site’s text colour (#22272B) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • White 39.6%
  • Midnight Blue 21.7%
  • Cool Charcoal 14.1%
  • Light Blue 8.6%
  • Brown 2.8%
  • Crimson 2.8%
  • Steel Blue 2.2%
  • Dark Slate Blue 1.5%
  • Off White 1.4%
  • Royal Blue 1.3%
  • Indigo 1.3%
  • Warm Off White 0.9%
  • Forest Green 0.7%
  • Chocolate 0.5%
  • Honey Dew 0.5%

By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.

Neutrals

Text, backgrounds and structure
  • White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 0
    On text
    15.07:1 AAA
    On white
    —

    Text, background, border · .nsw-section--invert .nsw-carousel__navigation--pagination .nsw-carousel__nav-it, .nsw-section--invert.nsw-section--grey-01 .nsw-filters.nsw-filters--down .nsw-fi

  • Cool Charcoal

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    21 9 0 83
    On text
    —
    On white
    15.07:1 AAA

    Text, background, border · body, .nsw-section--invert .nsw-accordion__item>.nsw-accordion__title

  • Off White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 8
    On text
    12.64:1 AAA
    On white
    1.19:1 Fail

    Border, background, graphic · .nsw-section--invert.nsw-section--grey-01 .nsw-filters__accept button:hover, .nsw-main-nav__sub-nav .nsw-main-nav__title

  • Warm Off White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 6 5 3
    On text
    12.62:1 AAA
    On white
    1.19:1 Fail

    Background · .nsw-filters__item .nsw-material-icons--error, .nsw-form__helper--error

Colours

Brand colours and accents, most used first
  • Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 62 0 61
    On text
    1.05:1 Fail
    On white
    14.37:1 AAA

    Text, background, border · .nsw-section--invert.nsw-section--brand-dark .nsw-filters.nsw-filters--down .nsw, .nsw-accordion__item[open]>.nsw-accordion__title

  • Light Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    20 6 0 1
    On text
    12.25:1 AAA
    On white
    1.23:1 Fail

    Background, border, text · .nsw-section--invert .nsw-accordion__item[open]>.nsw-accordion__title, .nsw-section--invert .nsw-filters__controls button:hover:enabled .nsw-material-i

  • Brown

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 90 70 28
    On text
    2.28:1 Fail
    On white
    6.60:1 AA

    Background, text, border · .nsw-status-label--error, .nsw-button--danger

  • Crimson

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 90 73 16
    On text
    2.91:1 Fail
    On white
    5.18:1 AA

    Border, background, text · .nsw-pagination a.active:after, .nsw-grid-overlay .nsw-col>div

  • Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 25 0 30
    On text
    3.63:1 AA large
    On white
    4.15:1 AA large

    Border, background · .nsw-accordion__item>.nsw-accordion__title:focus-visible, .nsw-accordion__toggle button:focus

  • Dark Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    70 46 0 40
    On text
    2.00:1 Fail
    On white
    7.55:1 AAA

    Background, text, border · .nsw-status-label--info, .nsw-button--info

  • Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    92 57 0 1
    On text
    3.30:1 AA large
    On white
    4.57:1 AA

    Background, text, border · .nsw-section--brand-supplementary, .nsw-hero-banner__lines:after

  • Indigo

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    39 81 0 45
    On text
    1.37:1 Fail
    On white
    11.01:1 AAA

    Text · .nsw-accordion__toggle button:visited, .nsw-filters__cancel button:visited

  • Forest Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 0 95 46
    On text
    3.33:1 AA large
    On white
    4.53:1 AA

    Text, background, border · .nsw-status-label--success, .nsw-material-icons--success

  • Chocolate

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 60 100 21
    On text
    3.32:1 AA large
    On white
    4.53:1 AA

    Text, background, border · .nsw-status-label--warning, .nsw-material-icons--warning

  • Honey Dew

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    7 0 7 4
    On text
    13.39:1 AAA
    On white
    1.13:1 Fail

    Background · .nsw-filters__item .nsw-material-icons--valid, .nsw-form__helper--valid

Gradients

  • linear-gradient(#ffffff26,#ffffff26)

  • linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,.15))

  • linear-gradient(#ffffff13,#ffffff13)

Back to top ↑

Typography

Faces from Google Fonts are shown in the real thing. Others are licensed to the site, so they show in your device’s copy if you have one, or a stand-in if not.

Public Sans

Aa 400 Aa 700

Public Sans

Google Fonts · weights 400, 700 · headings, buttons, body

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”

Type scale

From the site’s CSS
Heading 1 2.25rem · 36 px / 1.25 weight 700

NSW Government

Heading 2 1.75rem · 28 px / 1.25 weight 700

NSW Government

Heading 3 1.375rem · 22 px / 1.25 weight 700

NSW Government

Heading 4 1.125rem · 18 px / 1.33 weight 700

NSW Government

Heading 5 1rem · 16 px / 1.5 weight 700

NSW Government

Heading 6 1rem · 16 px / 1.5 weight 700

NSW Government

Body 1rem · 16 px / 1.5 weight 400 · Public Sans

The quick brown fox jumps over the lazy dog.

Small .875rem · 14 px / 1.35

The quick brown fox jumps over the lazy dog.

Button .75rem · 12 px / 1.5 weight 700 · Public Sans

Get started

Link 1.125rem · 18 px / 1.5 weight 400 · Public Sans

Read more about NSW Government

Sizes in use

Most common across the site
  • 30px9 rules
  • 24pxline 1 · 8 rules
  • 22pxline 1.25 · 9 rules
  • 20pxline .625rem · 12 rules
  • 18pxline 1.33 · 19 rules
  • 16pxline 1.5 · 32 rules
  • 14pxline 1.35 · 24 rules
  • 12pxline 1.5 · 6 rules

Back to top ↑

Elements

The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.

Elements

Button

Get started

.nsw-carousel__navigation--pagination .nsw-carousel__nav-item--selected button · #002664

Link

Read our latest news today.

a · #002664

Corner radius

  • .25rem · 74×
  • 50% · 7×
  • 4px · 6×
  • 1.5rem · 3×
  • 100% · 2×
  • .12em · 1×

Shadows

  • 0 .25rem .75rem #00000026
  • 0 .25rem .75rem 0 rgba(0,0,0,.15)
  • 0 4px 12px #00000026
  • 0 .25em .5em 0 rgba(0,0,0,.1)

Back to top ↑

Layout

Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.

Grid

Breakpoints

480
576
768
960
992
1200

On a scale of 0 to 1440 px.

Content widths (max-width)

1200 px
768 px
736 px
700 px
500 px
350 px

Back to top ↑

Notes

Plain checks on what was found. Worth fixing if you look after this site.

Notes

  • ● FineThe title is 14 characters, short enough to show in full in search results.
  • ▲ CheckThere is no meta description, so search engines will pick text from the page.

Back to top ↑

Questions

Quick answers, from the same capture as the rest of this guide.

Questions

What font does NSW Government use?
NSW Government’s website uses one typeface: Public Sans (headings and body text), google Fonts.
What are NSW Government’s brand colours?
The main colours on nsw.gov.au are Midnight Blue (#002664), Light Blue (#CBEDFD), Brown (#B81237), Crimson (#D7153A), Steel Blue (#0086B3) and Dark Slate Blue (#2E5299).
What colour is NSW Government’s text and background?
Body text is #22272B on a #FFFFFF background.
Where is NSW Government’s logo from?
The logo shown in this guide was found on nsw.gov.au’s homepage. For official logo files and usage rules, check NSW Government’s own brand or press page.
Is this NSW Government’s official style guide?
No. SiteStyleGuide made it from nsw.gov.au’s public web pages on 21 October 2026, and isn’t affiliated with NSW Government. Members can refresh a guide after 90 days to pick up changes.

Back to top ↑

Design tokens

Everything above as CSS variables, ready to paste into a project. Members can download the tokens as files for Figma (Tokens Studio), Style Dictionary and Tailwind.

Tokens

nsw-gov-au-tokens.css

Download

Free with an account: sign up or sign in, and you’ll come straight back here.

/* nsw.gov.au design tokens, from SiteStyleGuide (https://sitestyleguide.com/nsw.gov.au) */
:root {
  /* Colours */
  --text: #22272B;
  --background: #FFFFFF;
  --colour-white: #FFFFFF;
  --colour-cool-charcoal: #22272B;
  --colour-off-white: #EBEBEB;
  --colour-warm-off-white: #F7E7EB;
  --colour-midnight-blue: #002664;
  --colour-light-blue: #CBEDFD;
  --colour-brown: #B81237;
  --colour-crimson: #D7153A;
  --colour-steel-blue: #0086B3;
  --colour-dark-slate-blue: #2E5299;
  --colour-royal-blue: #146CFD;
  --colour-indigo: #551A8B;
  --colour-forest-green: #008A07;
  --colour-chocolate: #C95000;
  --colour-honey-dew: #E5F6E6;
  --gradient-1: linear-gradient(#ffffff26,#ffffff26);
  --gradient-2: linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,.15));
  --gradient-3: linear-gradient(#ffffff13,#ffffff13);

  /* Typefaces */
  --font-headings: 'Public Sans', sans-serif;
  --font-buttons: 'Public Sans', sans-serif;
  --font-body: 'Public Sans', sans-serif;

  /* Type scale */
  --text-h1: 2.25rem;
  --leading-h1: 1.25;
  --text-h2: 1.75rem;
  --leading-h2: 1.25;
  --text-h3: 1.375rem;
  --leading-h3: 1.25;
  --text-h4: 1.125rem;
  --leading-h4: 1.33;
  --text-h5: 1rem;
  --leading-h5: 1.5;
  --text-h6: 1rem;
  --leading-h6: 1.5;
  --text-body: 1rem;
  --leading-body: 1.5;
  --text-small: .875rem;
  --leading-small: 1.35;
  --text-button: .75rem;
  --leading-button: 1.5;
  --text-a: 1.125rem;
  --leading-a: 1.5;

  /* Shape */
  --radius-1: .25rem;
  --radius-2: 50%;
  --radius-3: 4px;
  --radius-4: 1.5rem;
  --radius-5: 100%;
  --radius-6: .12em;

  /* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
  --breakpoint-1: 480px;
  --breakpoint-2: 576px;
  --breakpoint-3: 768px;
  --breakpoint-4: 960px;
  --breakpoint-5: 992px;
  --breakpoint-6: 1200px;
  --max-width-1: 1200px;
  --max-width-2: 768px;
  --max-width-3: 736px;
  --max-width-4: 700px;
  --max-width-5: 500px;
  --max-width-6: 350px;
}

Back to top ↑

Share

Links open each service’s own share page. Nothing from them loads here.

Share

Run nsw.gov.au?

Add the badge to your site

Link to this guide from your own site, so your team, designers and agencies can find your colours and fonts in one place.

View our style guide on SiteStyleGuide
<a href="https://sitestyleguide.com/nsw.gov.au" title="NSW Government style guide on SiteStyleGuide"><img src="https://sitestyleguide.com/public/badge.svg" alt="View our style guide on SiteStyleGuide" width="200" height="44"></a>

Back to top ↑

Other websites using Public Sans as their main typeface
Websites whose lead colour is closest to NSW Government’s

Captured from nsw.gov.au on 21 October 2026. SiteStyleGuide isn’t affiliated with or endorsed by NSW Government; this guide describes the public website for reference.