Skip to main content

Web

Web palette

Use these colours for supporting elements in your service like illustrations, or in custom components where appropriate.

If you’re using GOV.UK Frontend or the GOV.UK Prototype Kit, you can access the full web palette, and all its available colours, using the govuk-colour function.

By default, the function will return the ‘primary’ variant of each colour. For example: govuk-colour("blue") will return ‘Primary blue’ #1d70b8.

Access tints and shades of colour groups using the $variant option.

For example:

  • govuk-colour("red", $variant: "tint-25") will return ‘Red tint 25%’, which is a variant of red with a tint of 25%
  • govuk-colour("blue", $variant: "shade-50") will return ‘Blue shade 50%’, which is a variant of blue with a shade of 50%

Most colours include these variants:

  • tints at 25% (tint-25), 50% (tint-50), 80% (tint-80) and 95% (tint-95)
  • shades at 25% (shade-25) and 50% (shade-50)

Black includes Primary black, with tints to show greys. White has no variants.

The web palette has:

Blues

Primary blue
RGB 29 112 184
#1D70B8
Blue tint 25%
RGB 86 148 202
#5694CA
Blue tint 50%
RGB 142 184 220
#8EB8DC
Blue tint 80%
RGB 210 226 241
#D2E2F1
Blue tint 95%
RGB 244 248 251
#F4F8FB
Blue shade 10%
RGB 26 101 166
#1A65A6
Blue shade 25%
RGB 22 84 138
#16548A
Blue shade 50%
RGB 15 56 92
#0F385C

Greens

Primary green
RGB 15 122 82
#0F7A52
Green tint 25%
RGB 75 155 125
#4B9B7D
Green tint 50%
RGB 135 188 168
#87BCA8
Green tint 80%
RGB 207 228 220
#CFE4DC
Green tint 95%
RGB 243 248 246
#F3F8F6
Green shade 25%
RGB 11 92 62
#0B5C3E
Green shade 50%
RGB 8 61 41
#083D29

Teals

Primary teal
RGB 21 129 135
#158187
Teal tint 25%
RGB 80 161 165
#50A1A5
Teal tint 50%
RGB 138 192 195
#8AC0C3
Teal tint 80%
RGB 208 230 231
#D0E6E7
Teal tint 95%
RGB 243 249 249
#F3F9F9
Teal shade 25%
RGB 16 97 101
#106165
Teal shade 50%
RGB 11 65 68
#0B4144
Accent teal
RGB 0 255 224
#00FFE0

Purples

Primary purple
RGB 84 49 159
#54319F
Purple tint 25%
RGB 127 101 183
#7F65B7
Purple tint 50%
RGB 170 152 207
#AA98CF
Purple tint 80%
RGB 221 214 236
#DDD6EC
Purple tint 95%
RGB 246 245 250
#F6F5FA
Purple shade 25%
RGB 63 37 119
#3F2577
Purple shade 50%
RGB 42 25 80
#2A1950

Magentas

Primary magenta
RGB 202 53 124
#CA357C
Magenta tint 25%
RGB 215 104 157
#D7689D
Magenta tint 50%
RGB 229 154 190
#E59ABE
Magenta tint 80%
RGB 244 215 229
#F4D7E5
Magenta tint 95%
RGB 252 245 248
#FCF5F8
Magenta shade 25%
RGB 152 40 93
#98285D
Magenta shade 50%
RGB 101 27 62
#651B3E

Reds

Primary red
RGB 202 53 53
#CA3535
Red tint 25%
RGB 215 104 104
#D76868
Red tint 50%
RGB 229 154 154
#E59A9A
Red tint 80%
RGB 244 215 215
#F4D7D7
Red tint 95%
RGB 252 245 245
#FCF5F5
Red shade 25%
RGB 152 40 40
#982828
Red shade 50%
RGB 101 27 27
#651B1B

Oranges

Primary orange
RGB 244 119 56
#F47738
Orange tint 25%
RGB 247 153 106
#F7996A
Orange tint 50%
RGB 250 187 156
#FABB9C
Orange tint 80%
RGB 253 228 215
#FDE4D7
Orange tint 95%
RGB 254 248 245
#FEF8F5
Orange shade 25%
RGB 183 89 42
#B7592A
Orange shade 50%
RGB 122 60 28
#7A3C1C

Yellows

Primary yellow
RGB 255 221 0
#FFDD00
Yellow tint 25%
RGB 255 230 64
#FFE640
Yellow tint 50%
RGB 255 238 128
#FFEE80
Yellow tint 80%
RGB 255 248 204
#FFF8CC
Yellow tint 95%
RGB 255 253 242
#FFFDF2
Yellow shade 25%
RGB 191 166 0
#BFA600
Yellow shade 50%
RGB 128 111 0
#806F00

Browns

Primary brown
RGB 153 112 74
#99704A
Brown tint 25%
RGB 179 148 119
#B39477
Brown tint 50%
RGB 204 184 165
#CCB8A5
Brown tint 95%
RGB 250 248 246
#FAF8F6

Neutrals

Black
RGB 11 12 12
#0B0C0C
Black tint 25%
RGB 72 73 73
#484949
Black tint 50%
RGB 133 134 134
#858686
Black tint 80%
RGB 206 206 206
#CECECE
Black tint 95%
RGB 243 243 243
#F3F3F3
White
RGB 255 255 255
#FFFFFF

Functional colours

The GOV.UK Design System has a set of functional colours for essential page elements. These help apply colours across the Design System in a way that makes interactions predictable and consistent to users.

If you’re using GOV.UK Frontend or the GOV.UK Prototype Kit, use the govuk-functional-colour Sass function. The colours available using this function are based on specific purposes and contexts, so that function will automatically assign appropriate colours.

Do not copy the specific hexadecimal (hex) colour values. For example, use govuk-functional-colour("brand") rather than #1d70b8.

This means that your service will always use the most recent colour palette whenever you update.

Only use the variables in the context they’re designed for. In all other cases, you should reference the GOV.UK web palette directly. For example, if you wanted to use red, you should use govuk-colour("red") rather than govuk-functional-colour("error").

Text

text
RGB 11 12 12
#0B0C0C
secondary-text
RGB 72 73 73
#484949
link
RGB 26 101 166
#1A65A6
link-hover
RGB 15 56 92
#0F385C
link-visited
RGB 84 49 159
#54319F
link-active
RGB 11 12 12
#0B0C0C

Border

border
RGB 206 206 206
#CECECE
input-border
RGB 11 12 12
#0B0C0C

Background

Use the template-background colour if you need to match the colour of the <html> element. Use the body-background colour if you need to match the colour of the <body> element.

template-background
RGB 244 248 251
#F4F8FB
body-background
RGB 255 255 255
#FFFFFF

Focus state

Only use the focus colour to indicate which element is focused on. For example, when a user tabs to an element with their keyboard.

focus
RGB 255 221 0
#FFDD00
focus-text
RGB 11 12 12
#0B0C0C

Error state

Use the error colour to show error messages.

error
RGB 202 53 53
#CA3535

Success state

Use the success colour to show success messages.

success
RGB 15 122 82
#0F7A52

Hover state

Use the hover colour to show input hover states.

hover
RGB 206 206 206
#CECECE

Brand colour

brand
RGB 29 112 184
#1D70B8

Surface

surface-background
RGB 244 248 251
#F4F8FB
surface-text
RGB 11 12 12
#0B0C0C
surface-border
RGB 142 184 220
#8EB8DC

Web palette example

Indicative examples for illustrative purposes only.

A screenshot of the GOV.UK homepage on desktop, showing web palette colours such as Primary blue for the header and links and Primary purple for visited links.