SiteStyleGuide

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

gov.uk logo

Unofficial style guide

gov.ukstyle guide

gov.uk’s website (gov.uk) uses GDS Transport for its headings and body text. Its palette is led by Gold (#FFDD00), Royal Blue (#1A65A6) and Steel Blue (#1D70B8), with #0B0C0C text on #FFFFFF. Captured from the live site on 27 October 2026.

Website
gov.uk
Typefaces
GDS Transport
Palette
4 neutrals, 12 colours
Captured
27 Oct 2026 · added by @sitestyleguide
https://www.gov.uk/ Screenshot
Screenshot of the gov.uk homepage on a desktop screen
Screenshot of gov.uk on a 1440 px desktop screen, 27 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
Welcome to GOV.UK
● 17 / 60 characters
Meta description
GOV.UK - The best place to find government services and information.
● 68 / 160 characters
og:title
Welcome to GOV.UK
og:description
GOV.UK - The best place to find government services and information.
Language
en
Theme colour
#1d70b8

In search results

gov.ukhttps://www.gov.uk/

Welcome to GOV.UK

GOV.UK - The best place to find government services and information.

When shared

The image gov.uk shares with links

gov.uk

Welcome to GOV.UK

GOV.UK - The best place to find government services and information.

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 (#0B0C0C) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • Near Black 36.5%
  • White 26.4%
  • Gold 7%
  • Royal Blue 5.7%
  • Steel Blue 5.7%
  • Light Grey 5.2%
  • Dark Grey 3.5%
  • Midnight Blue 2.4%
  • Crimson 1.9%
  • Sea Green 1.4%
  • Rebecca Purple 1.1%
  • Coral 0.8%
  • Dark Slate Grey 0.8%
  • Light Sky Blue 0.7%
  • Cadet Blue 0.5%
  • Medium Violet Red 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
  • Near Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    8 0 0 95
    On text
    —
    On white
    19.59:1 AAA

    Text, background, border · .gem-c-notice__title a:focus, .gem-c-layout-super-navigation-header__navigation-top-toggle-button.gem-c-layout

  • White

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

    Background, text, border · .govuk-summary-card__title-wrapper, .gem-c-heading--inverse .gem-c-heading__context

  • Light Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 19
    On text
    12.45:1 AAA
    On white
    1.57:1 Fail

    Border, background · .gem-c-cards__heading--underline+.gem-c-cards__list, .gem-c-related-navigation__sub-heading

  • Dark Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    1 0 0 71
    On text
    2.17:1 Fail
    On white
    9.03:1 AAA

    Text, border, background · .gem-c-button--secondary-quiet, .gem-c-search-with-autocomplete__suggestion-icon

Colours

Brand colours and accents, most used first
  • Gold

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 13 100 0
    On text
    14.55:1 AAA
    On white
    1.35:1 Fail

    Background, border, text · .gem-c-notice__title a:focus, .govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordio

  • Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    84 39 0 35
    On text
    3.22:1 AA large
    On white
    6.08:1 AA

    Text, background, border · .gem-c-notice__title a:link, .gem-c-layout-super-navigation-header__navigation-top-toggle-button.gem-c-layout

  • Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    84 39 0 28
    On text
    3.79:1 AA large
    On white
    5.17:1 AA

    Background, border, text · .gem-c-layout-super-navigation-header__search-toggle-button.gem-c-layout-super-n, theme-color meta tag

  • Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    84 39 0 64
    On text
    1.62:1 Fail
    On white
    12.07:1 AAA

    Text, border, background · .gem-c-notice__title a:hover, .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-1

  • Crimson

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 74 74 21
    On text
    3.80:1 AA large
    On white
    5.16:1 AA

    Text, border, background · .govuk-button--warning, .app-c-map__key--red

  • Sea Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    88 0 33 52
    On text
    3.66:1 AA large
    On white
    5.35:1 AA

    Background, border, text · .govuk-notification-banner--success, .govuk-button

  • Rebecca Purple

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    47 69 0 38
    On text
    2.16:1 Fail
    On white
    9.06:1 AAA

    Text · .gem-c-notice__title a:visited, --govuk-link-visited-colour

  • Coral

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 51 77 4
    On text
    7.04:1 AAA
    On white
    2.78:1 Fail

    Background, border · .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-4, .govspeak .mc-chart .mc-tr .mc-td.mc-bar-cell.mc-bar-4

  • Dark Slate Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    87 0 33 76
    On text
    1.59:1 Fail
    On white
    12.28:1 AAA

    Background, border, text · .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-5, .govspeak .mc-chart .mc-tr .mc-td.mc-bar-cell.mc-bar-5

  • Light Sky Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    35 16 0 14
    On text
    9.36:1 AAA
    On white
    2.09:1 Fail

    Border · .govuk-footer__heading, --govuk-surface-border-colour

  • Cadet Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    52 2 0 35
    On text
    6.51:1 AA
    On white
    3.01:1 AA large

    Background, border · .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-2, .govspeak .mc-chart .mc-tr .mc-td.mc-bar-cell.mc-bar-2

  • Medium Violet Red

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 74 39 40
    On text
    2.61:1 Fail
    On white
    7.51:1 AAA

    Background, border · .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-3, .govspeak .mc-chart .mc-tr .mc-td.mc-bar-cell.mc-bar-3

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.

GDS Transport

Aa 400 Aa 700

GDS Transport

Self-hosted · weights 400, 700 · headings, buttons · shown in a stand-in if you don’t have it

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

Type scale

From the site’s CSS
Heading 1 1.1875rem · 19 px / 2.1052631579 weight 400 · GDS Transport

gov.uk

Heading 2 1.6875rem · 27 px / 1.1111111111 weight 700 · GDS Transport

Welcome to GOV.UK

Heading 3 1.3125rem · 21 px / 1.1904761905 weight 700 · GDS Transport

Welcome to GOV.UK

Heading 4 1.1875rem · 19 px / 1.3157894737 weight 700 · GDS Transport

Welcome to GOV.UK

Heading 5 1.1875rem · 19 px / 1.3157894737 weight 700 · GDS Transport

Welcome to GOV.UK

Heading 6 1.1875rem · 19 px / 1.3157894737 weight 700 · GDS Transport

Welcome to GOV.UK

Paragraph 1.1875rem · 19 px / 1.3157894737 weight 700 · GDS Transport

GOV.UK - The best place to find government services and information.

Small 1.1875rem · 19 px

GOV.UK - The best place to find government services and information.

Link 1.1875rem · 19 px weight 700 · GDS Transport

Read more about gov.uk

Sizes in use

Most common across the site
  • 53pxline 1.0377358491 · 3 rules
  • 32pxline 1.09375 · 7 rules
  • 27pxline 1.1111111111 · 7 rules
  • 21pxline 1.1904761905 · 30 rules
  • 19pxline 1.3157894737 · 102 rules
  • 16pxline 1.25 · 53 rules
  • 15pxline 1.3 · 5 rules
  • 14pxline 1.2 · 3 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

Corner radius

  • calc(0px - 2px) · 8×
  • calc(0px) · 7×
  • 50% · 6×
  • 3px · 3×
  • 100% · 3×
  • 4px · 2×

Shadows

  • 0 -2px #ffdd00,0 4px #0b0c0c
  • 0 0 0 3px #fd0
  • 0 -2px 20px rgba(0,0,0,.1),0 0 12px rgba(0,0,0,.1)
  • 0 -2px #fd0,0 4px #0b0c0c

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

320
360
641
769
1020
1281

On a scale of 0 to 1440 px.

Content widths (max-width)

1024 px
1020 px
960 px
640 px
480 px
410 px

Back to top ↑

Notes

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

Notes

  • ● FineThe title is 17 characters, short enough to show in full in search results.

Back to top ↑

Questions

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

Questions

What font does gov.uk use?
gov.uk’s website uses one typeface: GDS Transport (headings and body text), self-hosted.
What are gov.uk’s brand colours?
The main colours on gov.uk are Gold (#FFDD00), Royal Blue (#1A65A6), Steel Blue (#1D70B8), Midnight Blue (#0F385C), Crimson (#CA3535) and Sea Green (#0F7A52).
What colour is gov.uk’s text and background?
Body text is #0B0C0C on a #FFFFFF background.
Where is gov.uk’s logo from?
The logo shown in this guide was found on gov.uk’s homepage. For official logo files and usage rules, check gov.uk’s own brand or press page.
Is this gov.uk’s official style guide?
No. SiteStyleGuide made it from gov.uk’s public web pages on 27 October 2026, and isn’t affiliated with gov.uk. 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

gov-uk-tokens.css

Download

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

/* gov.uk design tokens, from SiteStyleGuide (https://sitestyleguide.com/gov.uk) */
:root {
  /* Colours */
  --text: #0B0C0C;
  --background: #FFFFFF;
  --colour-near-black: #0B0C0C;
  --colour-white: #FFFFFF;
  --colour-light-grey: #CECECE;
  --colour-dark-grey: #484949;
  --colour-gold: #FFDD00;
  --colour-royal-blue: #1A65A6;
  --colour-steel-blue: #1D70B8;
  --colour-midnight-blue: #0F385C;
  --colour-crimson: #CA3535;
  --colour-sea-green: #0F7A52;
  --colour-rebecca-purple: #54319F;
  --colour-coral: #F47738;
  --colour-dark-slate-grey: #083D29;
  --colour-light-sky-blue: #8EB8DC;
  --colour-cadet-blue: #50A1A5;
  --colour-medium-violet-red: #98285D;

  /* Typefaces */
  --font-headings: 'GDS Transport', 'arial', sans-serif;
  --font-buttons: 'GDS Transport', 'arial', sans-serif;

  /* Type scale */
  --text-h1: 1.1875rem;
  --leading-h1: 2.1052631579;
  --text-h2: 1.6875rem;
  --leading-h2: 1.1111111111;
  --text-h3: 1.3125rem;
  --leading-h3: 1.1904761905;
  --text-h4: 1.1875rem;
  --leading-h4: 1.3157894737;
  --text-h5: 1.1875rem;
  --leading-h5: 1.3157894737;
  --text-h6: 1.1875rem;
  --leading-h6: 1.3157894737;
  --text-p: 1.1875rem;
  --leading-p: 1.3157894737;
  --text-small: 1.1875rem;
  --text-a: 1.1875rem;

  /* Shape */
  --radius-1: calc(0px - 2px);
  --radius-2: calc(0px);
  --radius-3: 50%;
  --radius-4: 3px;
  --radius-5: 100%;
  --radius-6: 4px;

  /* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
  --breakpoint-1: 320px;
  --breakpoint-2: 360px;
  --breakpoint-3: 641px;
  --breakpoint-4: 769px;
  --breakpoint-5: 1020px;
  --breakpoint-6: 1281px;
  --max-width-1: 1024px;
  --max-width-2: 1020px;
  --max-width-3: 960px;
  --max-width-4: 640px;
  --max-width-5: 480px;
  --max-width-6: 410px;
}

Back to top ↑

Share

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

Share

Run gov.uk?

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/gov.uk" title="gov.uk 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 ↑

Websites whose lead colour is closest to gov.uk’s

Captured from gov.uk on 27 October 2026. SiteStyleGuide isn’t affiliated with or endorsed by gov.uk; this guide describes the public website for reference.