iMore
imore.com · 6 days ago
SaveUnofficial 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 ↗
Unofficial style 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.
Identity & metadata
What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.
In search results
Welcome to GOV.UK
GOV.UK - The best place to find government services and information.
When shared
gov.uk
Welcome to GOV.UK
GOV.UK - The best place to find government services and information.
Logo & favicons
Found as: SVG in the header. SVG, 324 × 60.
Light browser tab
Dark browser tab
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.
By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.
Text, background, border · .gem-c-notice__title a:focus, .gem-c-layout-super-navigation-header__navigation-top-toggle-button.gem-c-layout
Background, text, border · .govuk-summary-card__title-wrapper, .gem-c-heading--inverse .gem-c-heading__context
Border, background · .gem-c-cards__heading--underline+.gem-c-cards__list, .gem-c-related-navigation__sub-heading
Text, border, background · .gem-c-button--secondary-quiet, .gem-c-search-with-autocomplete__suggestion-icon
Background, border, text · .gem-c-notice__title a:focus, .govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordio
Text, background, border · .gem-c-notice__title a:link, .gem-c-layout-super-navigation-header__navigation-top-toggle-button.gem-c-layout
Background, border, text · .gem-c-layout-super-navigation-header__search-toggle-button.gem-c-layout-super-n, theme-color meta tag
Text, border, background · .gem-c-notice__title a:hover, .govspeak .mc-chart .mc-tbody .mc-tr .mc-bar-1
Text, border, background · .govuk-button--warning, .app-c-map__key--red
Background, border, text · .govuk-notification-banner--success, .govuk-button
Text · .gem-c-notice__title a:visited, --govuk-link-visited-colour
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
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
Border · .govuk-footer__heading, --govuk-surface-border-colour
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
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
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
Self-hosted · weights 400, 700 · headings, buttons · shown in a stand-in if you don’t have it
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”
gov.uk
Welcome to GOV.UK
Welcome to GOV.UK
Welcome to GOV.UK
Welcome to GOV.UK
Welcome to GOV.UK
GOV.UK - The best place to find government services and information.
GOV.UK - The best place to find government services and information.
Read more about gov.uk
Elements
The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.
Corner radius
Shadows
Layout
Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.
Breakpoints
On a scale of 0 to 1440 px.
Content widths (max-width)
Notes
Plain checks on what was found. Worth fixing if you look after this site.
Questions
Quick answers, from the same capture as the rest of this guide.
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.
/* 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;
}
{
"site": "gov.uk",
"source": "https://sitestyleguide.com/gov.uk",
"text": "#0B0C0C",
"background": "#FFFFFF",
"colours": [
{
"name": "Near Black",
"hex": "#0B0C0C",
"rgb": [
11,
12,
12
]
},
{
"name": "White",
"hex": "#FFFFFF",
"rgb": [
255,
255,
255
]
},
{
"name": "Light Grey",
"hex": "#CECECE",
"rgb": [
206,
206,
206
]
},
{
"name": "Dark Grey",
"hex": "#484949",
"rgb": [
72,
73,
73
]
},
{
"name": "Gold",
"hex": "#FFDD00",
"rgb": [
255,
221,
0
]
},
{
"name": "Royal Blue",
"hex": "#1A65A6",
"rgb": [
26,
101,
166
]
},
{
"name": "Steel Blue",
"hex": "#1D70B8",
"rgb": [
29,
112,
184
]
},
{
"name": "Midnight Blue",
"hex": "#0F385C",
"rgb": [
15,
56,
92
]
},
{
"name": "Crimson",
"hex": "#CA3535",
"rgb": [
202,
53,
53
]
},
{
"name": "Sea Green",
"hex": "#0F7A52",
"rgb": [
15,
122,
82
]
},
{
"name": "Rebecca Purple",
"hex": "#54319F",
"rgb": [
84,
49,
159
]
},
{
"name": "Coral",
"hex": "#F47738",
"rgb": [
244,
119,
56
]
},
{
"name": "Dark Slate Grey",
"hex": "#083D29",
"rgb": [
8,
61,
41
]
},
{
"name": "Light Sky Blue",
"hex": "#8EB8DC",
"rgb": [
142,
184,
220
]
},
{
"name": "Cadet Blue",
"hex": "#50A1A5",
"rgb": [
80,
161,
165
]
},
{
"name": "Medium Violet Red",
"hex": "#98285D",
"rgb": [
152,
40,
93
]
}
],
"fonts": [
{
"name": "GDS Transport",
"stack": "\"GDS Transport\", arial, sans-serif",
"weights": [
400,
700
],
"source": "Self-hosted"
}
]
}
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.
Analytics cookies
We’d like to use Google Analytics cookies to count visits and see which pages are useful. Nothing is used for advertising.