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

The colors of canada.ca

Recolor (recolor.page) read the home page of canada.ca on October 8, 2026: its main color is #2572b4, a blue, and it paints 12 colors in 2 hue families out of 209 distinct values in its CSS, half of its text at 11.9:1 or better against what it sits on.

Measured

#2572b4Steel Blue
#7834bcRebecca Purple
#f8f8f8White Smoke
#333333Dark Slate Gray
#9e9e9eDark Gray
From the colors of the web 2026 dataset (dataset.csv, rank 362), measured on October 8, 2026 with scripts off; how it was measured
Measurecanada.ca
Main color#2572b4, a blue near steelblue
Five heaviest colors#e1e4e7 #f8f8f8 #295376 #26374a #284162
Colors in use12, 6 more than a gray; 209 distinct values in the CSS
Hue families2; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 79%, rgb() 21%, named colors 0.5%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 11.9:1; 0% of its text under 4.5:1
Page measuredhttps://www.canada.ca/, 413.9 KB of CSS

The palette of canada.ca

Taken the way Recolor's Use site colours takes a page's colors, canada.ca gives the palette #2572b4, #7834bc, #f8f8f8, #333333 and #9e9e9e: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open canada.ca in Recolor in its own colors or try another palette on canada.ca.

CSS variables

CSS
:root {
  --color-1: #2572b4;
  --color-2: #7834bc;
  --color-3: #f8f8f8;
  --color-4: #333333;
  --color-5: #9e9e9e;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #2572b4;
  --color-2: #7834bc;
  --color-3: #f8f8f8;
  --color-4: #333333;
  --color-5: #9e9e9e;
  --color-primary: #2572b4;
  --color-secondary: #7834bc;
  --color-accent: #f8f8f8;
}

Text contrast on canada.ca

All of the measured text on canada.ca clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 11.9:1. On the average studied site 6% of the text fails. 10% of its text sits on a dark ground. More in Black or white text on a color.

How canada.ca writes its colors

The 1,485 color values in its CSS are written as hex codes (79%), rgb() (21%) and named colors (0.5%). Its color declarations write their colors directly, with no var().

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 canada.ca 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 canada.ca blue?

Yes. Its main color is #2572b4, a blue near the CSS color steelblue, as on 49% of the 1,000 sites the study read.

Does canada.ca use Tailwind CSS?

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

Is canada.ca a dark site?

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

Does the text on canada.ca 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 11.9:1 or better.

Can I see canada.ca in another palette?

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

Sources