BrandToPrompt

.UK.COM Design System: Patriotic Precision & UI Consistency

Visit Site

Explore .UK.COM's design system - patriotic colors, precise typography, and structured UI components. Build consistent British-themed interfaces.

7 min read1,379 words

Brand Identity

Color Palette

Primary
Secondary

Typography

Primary Font
Albert Sans
Secondary Font
Times

Design Style

Style
formal and patriotic with flat, structured components and high-contrast color palette
Visual Density
compact grid-based with tight line heights and precise spacing multiples
Border Style
dominant 12px rounding on images, sharp edges on buttons, 40px pill for CTAs

Full Analysis

.UK.COM Brand Design System Deep Dive

1. Brand Overview

The .UK.COM brand feels unapologetically British in its visual language — deep navy primary, Union-Jack-inspired red accents, and typography that balances modern sans-serif clarity with a nod to traditional serif heritage. This is not a playful tech startup palette; it’s a solid, institutional look. You can tell they want to be seen as trustworthy, authoritative, and clearly tied to the UK identity.

The primary blue (#012169) is straight out of the British flag playbook. It communicates stability, governance, and seriousness. The accent red (#c8102e) is bold but used sparingly — mostly borders and subtle highlights — so it doesn’t overpower the blue. The white base keeps everything clean and high-contrast.

Typography is a big part of the tone. Albert Sans dominates across headings, buttons, and links — heavy weights for headlines, lighter for body. In one surprising twist, there’s Times for small text in one heading context (16px). That’s the only serif in the system, and it’s subtle enough that most users won’t notice unless they’re deeply looking at the source. It gives a faint nod to tradition without breaking the modern feel.

Layout-wise, this system is built on an 8px spacing scale (with some oddball values like 9.5px and 15px). Breakpoints are extensive — from 320px mobile all the way through 1400px large desktop, with multiple granularity stops in between. This tells me they’re serious about responsive fidelity.

Component styling leans structured and flat. Shadows are rare (only one shadow style found, used lightly for buttons), and depth is mostly expressed through borders — especially that signature 2px solid red around images.

Overall: .UK.COM is a brand that wants to be seen as official, precise, and consistent. The palette is patriotic without being kitschy. Typography is modern but not trendy. The system feels like it could scale from marketing pages to form-heavy applications without losing its identity.


2. Color System

2.1 Primary Colors

Primary Blue: #012169 (rgb(1, 33, 105)) — This is the anchor. It’s used for main navigation links, hero headings, and primary buttons. It reads as “official” and “trustworthy.” Compared to tech brands that use brighter blues (#007bff etc.), this is darker and more grounded. In accessibility terms, white text on this blue easily passes WCAG AA, with a contrast ratio well above 4.5:1.

Accent Red: #c8102e — A bold, deep red that’s more crimson than cherry. It’s used extensively in borders, particularly the 2px solid around images. This red is intense, so the brand wisely limits its usage to highlights rather than flooding backgrounds.

2.2 Complete Palette

Color Name / Source ContextHexRoleUsage
White#ffffffBackground / Text contrastHeader backgrounds, containers, text on dark
Red (Union Jack accent)#c8102eAccent / BorderBorders around img, header accent
Dark Near-Black#1c1113Text / LogoContact info logo, dark text
Light Grey#d0d0d0NeutralOccasional divider or subtle backgrounds
Primary Blue#012169Primary BrandNavigation, headings, buttons
Light Blue-Grey#a6b9d3NeutralContainer backgrounds
Pale Blue#c2cfe1Hover/focus stateLink or button hover feedback
Mid Blue#738ab2Hover/focus stateInteractive states
Slightly Different Mid Blue#7289b1Hover/focus stateInteractive states
Slightly Different Mid Blue#7188b1Hover/focus stateInteractive states
Darker Blue Tone#677fabHover/focus stateInteractive states
Deep Burgundy#891541Hover/focus stateRare hover accent

2.3 Color Relationships

Primary Blue (#012169) and Accent Red (#c8102e) are high-contrast complements — both strong, saturated colors that can fight each other if used in large areas. The design keeps them apart: blue for actions and titles, red for borders and accents.

White (#ffffff) is the base canvas. Dark text (#1c1113) appears only in specific branding spots, not body copy — most body text is black or dark blue.

The hover/focus palette is interesting: multiple shades of blue-grey are in play. This suggests they’re not using a single hover token but picking shades contextually. That can cause inconsistency if not documented.

2.4 Usage Guide

  • Blue (#012169) + White: Perfect for CTAs. High contrast, crisp.
  • Red (#c8102e) + White: Works in borders, but avoid red backgrounds with white text unless it’s an alert — red is emotionally charged.
  • Blue-Grey hover tones: Keep consistent — pick one for interactive states.
  • Avoid pairing Accent Red with Primary Blue in text next to each other unless separated by whitespace — too intense.
  • Dark near-black (#1c1113): Use only for logo or brand lock-ups, not body copy.

3. Typography

3.1 Font Families

Primary: Albert Sans — No fallback stack specified in data, but likely defaults to sans-serif. Heavy weights (900) for headings and buttons, lighter (400) for body and captions.

Secondary: Times — Serif, used only at 16px in one heading context. This is minimal and likely intentional for a specific traditional subheading or legal text.

No Google Fonts or Adobe Fonts sources detected — fonts are probably self-hosted.

3.2 Type Scale

Element ContextFontSizeWeightLine Height
Heading-1Albert Sans48px (3.00rem)9001.06
Heading-1Albert Sans42px (2.63rem)9001.33
Heading-1Albert Sans36px (2.25rem)9001.33
Heading-1 (uppercase)Albert Sans24px (1.50rem)4001.33
Heading-1Albert Sans24px4001.25
ButtonAlbert Sans24px9001.25
Heading-1Albert Sans22px4001.25
Button (uppercase)Albert Sans21px9001.15
Heading-1Albert Sans21px4001.33
Heading-1Albert Sans20px4001.33
Heading-1Albert Sans18px4001.33
ButtonAlbert Sans18px9001.33
Heading-1Times16px4001.15
LinkAlbert Sans16px4001.33
CaptionAlbert Sans14px4001.33
LinkAlbert Sans14px4001.33

3.3 Hierarchy

The jump from 48px to 42px to 36px for headings is tight — they’re keeping titles visually consistent across breakpoints. The heavy weight (900) makes even smaller headings feel substantial.

Buttons range from 18px to 24px — large enough to be readable, with uppercase variants for emphasis.

Body text sits around 16px, with captions at 14px. Line heights are mostly in the 1.25–1.33 range, which is tight and formal — no loose, airy spacing here.


4. Spacing & Layout

4.1 Spacing Scale

The scale is nominally 8px, but actual values vary:

ValueremFrequency
9.5px0.59rem4
10px0.63rem5
15px0.94rem7
16px1.00rem2
18px1.13rem4
20px1.25rem7
22px1.38rem3
24px1.50rem1
25px1.56rem7
30px1.88rem7
40px2.50rem1
45px2.81rem6
50px3.13rem4
55px3.44rem4
60px3.75rem1
75px4.69rem1
100px6.25rem10

4.2 Layout

Breakpoints: 320, 350, 500, 501, 509, 576, 600, 767, 768, 960, 991, 992, 1199, 1200, 1400 px. This is granular — they’re adjusting layout at very specific widths.

Likely a container max-width around 1400px for large screens, with progressive adjustments down to mobile.


5. Visual Elements

Border Radius

RadiusCountElements
5px2image, div
12px84img
40px2button
50%1image (circular)

Dominant radius is 12px — used heavily on images.

Shadows

One shadow style: rgba(67, 16, 16, 0.25) 0px 5px 10px 0px. Soft, reddish tint. Used on some buttons.

Borders

Signature: 2px solid #c8102e around images (84 uses). Other borders are light blue-grey (#a6b9d3) for inputs, thin white lines in some dividers.


6. Components

6.1 Buttons

Primary Button (btn btn--primary t__nowrap ds__form-submit):

  • Default: background #012169, text #ffffff, padding 9.5px 25px, border-radius 0px, border none, box-shadow rgba(67, 16, 16, 0.25) 0px 5px 10px, font-weight 900, font-size 21px.
  • Hover: color var(--color), background initial (transparent), outline 0px.
  • Focus: same as hover.
  • Opinion: Hover removing background on a primary button can feel jarring — you lose the solid CTA feel.

CTA White Button (t__large btn btn--cta btn--white):

  • Default: background #ffffff, text #012169, padding 20px 30px, border-radius 40px, no shadow, font-weight 900, font-size 24px.
  • Hover: text var(--white), background var(--dark-blue), transform scale(1.1).
  • Focus: text var(--light-blue), background var(--dark-blue).
  • Opinion: The pill shape (40px) plus scale on hover feels more marketing/hero-oriented.

Three styles:

  1. White text, underline — used on dark backgrounds. Hover keeps white.
  2. Blue text (#012169), underline — hover changes to white.
  3. Dark text (#1c1113), underline — hover changes to white.

6.3 Forms

Text inputs: transparent background, 10px padding, no visible border in data (likely styled container). Search inputs: light grey background (#f7f7f7), 10px 20px padding.

Focus states remove outline — possible accessibility issue unless replaced with custom styles.

6.4 Cards

No explicit card data, but likely container backgrounds (#a6b9d3) with spacing from the scale.


7. Design Tokens (CSS Variables)

:root {
  /* Colors */
  --color-primary: #012169;
  --color-accent-red: #c8102e;
  --color-white: #ffffff;
  --color-dark-text: #1c1113;
  --color-light-grey: #d0d0d0;
  --color-light-blue-grey: #a6b9d3;
  --color-hover-pale-blue: #c2cfe1;
  --color-hover-mid-blue-1: #738ab2;
  --color-hover-mid-blue-2: #7289b1;
  --color-hover-mid-blue-3: #7188b1;
  --color-hover-mid-blue-4: #677fab;
  --color-hover-burgundy: #891541;

  /* Typography */
  --font-primary: "Albert Sans", sans-serif;
  --font-secondary: "Times", serif;
  --font-weight-bold: 900;
  --font-weight-regular: 400;

  /* Spacing */
  --space-9_5: 9.5px;
  --space-10: 10px;
  --space-15: 15px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-25: 25px;
  --space-30: 30px;
  --space-40: 40px;
  --space-45: 45px;
  --space-50: 50px;
  --space-55: 55px;
  --space-60: 60px;
  --space-75: 75px;
  --space-100: 100px;

  /* Radius */
  --radius-sm: 5px;
  --radius-md: 12px;
  --radius-lg: 40px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-soft-red: rgba(67, 16, 16, 0.25) 0px 5px 10px 0px;
}

8. AI Coding Assistant Prompt

# .UK.COM Design System Specification

You are a .UK.COM design expert. Build UIs matching their visual language exactly.

## Brand Context
.UK.COM uses a patriotic British palette of deep navy blue and bold crimson red, paired with clean white backgrounds. Typography is modern sans-serif (Albert Sans) for most content, with rare serif (Times) for subtle heritage nods. Layout is precise, grid-based, and responsive across many breakpoints.

## Colors
- Primary Blue: #012169 — Navigation links, hero headings, primary buttons
- Accent Red: #c8102e — Borders on images, header accents
- White: #ffffff — Backgrounds, text on dark
- Dark Text: #1c1113 — Logos, limited text
- Light Grey: #d0d0d0 — Dividers, subtle backgrounds
- Light Blue-Grey: #a6b9d3 — Container backgrounds
- Pale Blue Hover: #c2cfe1 — Hover/focus feedback
- Mid Blue Hover 1: #738ab2 — Interactive hover
- Mid Blue Hover 2: #7289b1 — Interactive hover
- Mid Blue Hover 3: #7188b1 — Interactive hover
- Mid Blue Hover 4: #677fab — Interactive hover
- Burgundy Hover: #891541 — Rare hover accent

## Typography
- Headings: "Albert Sans", sans-serif — weights 900 and 400
- Body: "Albert Sans", sans-serif — weight 400
- Serif Special: "Times", serif — weight 400, size 16px

| Level | Size | Weight | Line Height | Use For |
|-------|------|--------|-------------|---------|
| H1 | 48px | 900 | 1.06 | Main titles |
| H1 | 42px | 900 | 1.33 | Section titles |
| H1 | 36px | 900 | 1.33 | Sub-section titles |
| Uppercase Heading | 24px | 400 | 1.33 | Labels |
| H1 | 22px | 400 | 1.25 | Smaller headings |
| Button Large | 24px | 900 | 1.25 | CTA buttons |
| Button Medium Uppercase | 21px | 900 | 1.15 | CTA buttons |
| Body | 16px | 400 | 1.33 | Paragraphs |
| Caption | 14px | 400 | 1.33 | Small notes |

## Spacing & Grid
Base: 8px grid. Values: 9.5px, 10px, 15px, 16px, 18px, 20px, 22px, 24px, 25px, 30px, 40px, 45px, 50px, 55px, 60px, 75px, 100px.
Use multiples for padding/margins: buttons 9.5px vertical, containers 25–50px, sections 75–100px.

## Border Radius
- none: 0px — Primary buttons
- sm: 5px — small images/divs
- md: 12px — images
- lg: 40px — pill buttons
- full: 50% — circular images

## Shadows & Depth
- Soft Red Shadow: rgba(67, 16, 16, 0.25) 0px 5px 10px — Used on primary buttons

## Component Specifications

### Primary Button
Default: bg #012169, text #ffffff, padding 9.5px 25px, radius 0px, font 900 21px Albert Sans, shadow soft red.
Hover: text var(--color), bg transparent.
Focus: same as hover.
Active: N/A.
Disabled: opacity 0.5.

### CTA White Button
Default: bg #ffffff, text #012169, padding 20px 30px, radius 40px, font 900 24px Albert Sans.
Hover: text #ffffff, bg var(--dark-blue), transform scale(1.1).
Focus: text var(--light-blue), bg var(--dark-blue).

### Navigation Links
Default: color #012169, underline.
Hover: color #ffffff, underline.

### Input Fields
Text: transparent bg, 10px padding, no border, radius 0px.
Search: bg #f7f7f7, 10px 20px padding.
Focus: outline none.

## Layout & Responsive Rules
Max content width: 1400px.
Breakpoints: 320, 350, 500, 501, 509, 576, 600, 767, 768, 960, 991, 992, 1199, 1200, 1400 px.
Page padding: 20px mobile, 50px desktop.

## Interaction Rules
Transitions: 150ms ease for hover/focus changes.
Focus indicators: custom color changes, no default outline.

## DO List
- Use only colors in palette.
- Keep spacing multiples of 8px.
- Use Albert Sans for headings and body.
- Reserve Accent Red for borders and accents.
- Maintain consistent hover colors.

## DON'T List
- Add unapproved shadows.
- Mix rounded radii with sharp in same component.
- Use Accent Red for large text blocks.
- Remove hover feedback entirely.

## Code Examples

### Primary Button
```css
.btn-primary {
  background: #012169;
  color: #ffffff;
  padding: 9.5px 25px;
  border-radius: 0;
  font-weight: 900;
  font-size: 21px;
  font-family: "Albert Sans", sans-serif;
  box-shadow: rgba(67, 16, 16, 0.25) 0px 5px 10px;
  border: none;
  transition: background 150ms ease, color 150ms ease;
}
.btn-primary:hover, .btn-primary:focus {
  background: transparent;
  color: var(--color);
}
```

### CTA White Button
```css
.btn-cta-white {
  background: #ffffff;
  color: #012169;
  padding: 20px 30px;
  border-radius: 40px;
  font-weight: 900;
  font-size: 24px;
  font-family: "Albert Sans", sans-serif;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.btn-cta-white:hover {
  background: var(--dark-blue);
  color: #ffffff;
  transform: scale(1.1);
}
```

### Input Field
```css
.input-text {
  background: transparent;
  padding: 10px;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-family: "Albert Sans", sans-serif;
}
.input-search {
  background: #f7f7f7;
  padding: 10px 20px;
  border: none;
  border-radius: 0;
}
.input-text:focus, .input-search:focus {
  outline: none;
}
```

9. Summary

TL;DR: .UK.COM is a formal, patriotic brand system built on deep navy blue, bold crimson accents, and clean white backgrounds. Albert Sans drives modern clarity, with an 8px-based spacing scale and flat, border-heavy components.

Brand Keywords: british-authoritative, navy-red-clean, sans-serif-formal, responsive-precise