GOV.UK Design System
GOV.UK Design System
govuk

GOV.UK's design system uses #1d70b8 as its primary color and "GDS Transport" for typography, with 0px corner radius. GOV.UK is the UK government's central digital platform — and its design system is one of the world's most influential public-sector design systems.

Primary
#1d70b8
Typography
"GDS Transport"
Radius
0px
Design System
Govuk logo

Govuk

GOV.UK is the UK government's central digital platform — and its design system is one of the world's most influential public-sector design systems. The aesthetic is unmistakably utilitarian and accessibility-first: pure white (#ffffff) canvas with near-black text (#0b0c0c), a single authoritative govuk-blue (#1d70b8) for brand anchoring, and a signatur

01

Color Palette

Brand

Accent

Neutrals

Semantic

02

Typography

Type Scale

Rendered in system-ui to clearly show scale & weight.

display48px · 700 · 1.25
Design at scale
32px32px · 700 · 1.25
Section heading
heading-lg24px · 700 · 1.4
Subheading
body16px · 400 · 1.5
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.
small14px · 400 · 1.5
Supporting text
caption10px · 400 · 1.5
Caption · timestamp · 2026
label10px · 500 · 1.5
BADGE / LABEL

Fonts

Primary
GDS Transport
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
Primary
Arial
Commercial
Pre-installed on Windows/macOS.
Not publicly distributed.
03

Spacing & Shape

Spacing

PurposeValuePreview
Densitycomfortable
Base unit5px
Section gap40px
Card padding20px
Element gap12px

Border Radius

ElementValuePreview
buttons0px
inputs0px
cards0px
dialogs0px
badges0px
pillPill9999px

Elevation

Subtle
Default
Elevated
Floating
Modal
04

Guidelines

Do and Don't guidelines parsed from DESIGN.md.

Do

  • Use #ffdd00 focus ring on every interactive element without exception
  • Maintain 0px border-radius on all buttons, inputs, and components
  • Use GDS green (#0f7a52) for primary action buttons
  • Apply the 2px bottom shadow on all buttons in the correct shade
  • Use #1d70b8 govuk-blue for brand anchoring and links
  • Set body text in GDS Transport (or Arial fallback) at 19px/400
  • Use #0b0c0c (not pure black) for all primary text
  • Give visited links the #54319f purple colour

Don't

  • n't add border-radius to any component — the rectangular geometry is a system constraint, not a style preference
  • n't use the focus yellow (#ffdd00) as a decorative colour — it is reserved exclusively for focus states
  • n't omit the button bottom shadow — it is how users perceive pressability with zero border-radius
  • n't use custom fonts — GDS Transport is the only approved typeface; fall back to Arial only
  • n't make buttons pill-shaped or add gradient backgrounds
  • n't use the govuk-blue (#1d70b8) as a button background on services — GDS green (#0f7a52) is the action colour
  • n't break the colour contract — never use semantic error red for non-error contexts or visited purple for non-visited links
  • n't add decorative illustrations, gradients, or photography to service pages
05

Components

Buttons

button-primary
Background#0f7a52
Text#ffffff
Radius0px
Padding8px 10px 7px
Font19px / 400 GDS Transport
Shadow0 2px 0 #083d29
Use: Primary CTA — Save and continue, Start now
button-secondary
Background#f3f3f3
Text#0b0c0c
Radius0px
Padding8px 10px 7px
Font19px / 400 GDS Transport
Shadow0 2px 0 #858686
Use: Secondary action — Find address
button-warning
Background#ca3535
Text#ffffff
Radius0px
Padding8px 10px 7px
Font19px / 400 GDS Transport
Shadow0 2px 0 #651b1b
Use: Destructive — Delete account

Inputs

text-input
Background#ffffff
Text#0b0c0c
Border2px solid #0b0c0c
Radius0px
Padding5px
Font19px / 400 GDS Transport
Focus#ffdd00 3px outline
Use: Standard text input field
select
Background#ffffff
Text#0b0c0c
Border2px solid #0b0c0c
Radius0px
Padding5px
Font19px / 400 GDS Transport
Use: Native select control

Badges

tag
tag
Background#d2e2f1
Text#0f385c
Radius1px
Padding2px 8px 3px
Font19px / 400 GDS Transport
Use: Status tag — Completed, In progress, Not started

Toasts

notification-banner
notification-banner
Background#1d70b8
Text#ffffff
Border5px solid #1d70b8
Radius0px
Use: Top-of-page notification banner (informational / success)

Cards

image fills
inset-text
Backgroundtransparent
Text#0b0c0c
Border10px solid #cecece
Radius0px
Padding15px
Use: Inset text panel for important supplementary information

Dialogs

cookie-banner
Dialog content placeholder
cookie-banner
Background#0f7a52
Text#ffffff
Radius0px
Padding8px 10px 7px
Use: Cookie consent action buttons (green)

Related design systems