A blue site with 19 colors in use, no framework found, all of its text at WCAG AA

The colors of www.nhs.uk

The main color of www.nhs.uk is #005eb8, a blue, and its home page uses 19 colors, 13 of them more than a gray, in 5 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 57 distinct color values in 247.9 KB of CSS, half of its text at 13.02:1 or better against what it sits on.

Measured

#005eb8Royal Blue
#ffeb3bGold
#330072Midnight Blue
#ffffffWhite
#212b32Dark Slate Gray
From the colors of the web 2026 dataset (dataset.csv, rank 497), measured on October 8, 2026 with scripts off; how it was measured
Measurewww.nhs.uk
Main color#005eb8, a blue near royalblue
Five heaviest colors#ffffff #005eb8 #212b32 #d8dde0 #ffeb3b
Colors in use19, 13 more than a gray; 57 distinct values in the CSS
Hue families5; blue, yellow, violet, green and pink hold 5% or more of its color
Canvas#d8dde0, light
Dark mode in the CSSNo
Notationshex codes 89%, rgb() 8.9%, hsl() 1.2%, named colors 0.8%
Colors through var()0% of its color declarations; 68 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 13.02:1; 0% of its text under 4.5:1
Page measuredhttps://www.nhs.uk/, 247.9 KB of CSS

The palette of www.nhs.uk

Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For www.nhs.uk that is #005eb8, #ffeb3b, #330072, #ffffff and #212b32. Open www.nhs.uk in Recolor in its own colors, or try another palette on www.nhs.uk.

CSS variables

CSS
:root {
  --color-1: #005eb8;
  --color-2: #ffeb3b;
  --color-3: #330072;
  --color-4: #ffffff;
  --color-5: #212b32;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #005eb8;
  --color-2: #ffeb3b;
  --color-3: #330072;
  --color-4: #ffffff;
  --color-5: #212b32;
  --color-primary: #005eb8;
  --color-secondary: #ffeb3b;
  --color-accent: #330072;
}

Text contrast on www.nhs.uk

Half of the text on www.nhs.uk reads at 13.02:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. 12% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How www.nhs.uk writes its colors

The 1,033 color values in its CSS are written as hex codes (89%), rgb() (8.9%), hsl() (1.2%) and named colors (0.8%). Its color declarations write their colors directly, with no var(); 68 variables holding a color go unread by them.

No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. No dark mode shows in its CSS; 41% of the studied sites declare one.

Sites with a similar main color

The blue sites nearest www.nhs.uk in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it.

Common questions

Is the main color of www.nhs.uk blue?

Yes. Its main color is #005eb8, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.

Does www.nhs.uk use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is www.nhs.uk a dark site?

No. The color behind its home page is #d8dde0, a light canvas.

Does the text on www.nhs.uk pass WCAG AA?

Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 13.02:1 or better.

Can I see www.nhs.uk in another palette?

Yes. Load www.nhs.uk in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources