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

The colors of w3.org

Recolor (recolor.page) read the home page of w3.org on October 8, 2026: its main color is #005a9c, a blue, and it paints 10 colors in 3 hue families out of 31 distinct values in its CSS, half of its text at 18.88:1 or better against what it sits on.

Measured

#005a9cDark Slate Blue
#f9dc4aGold
#75336cPurple
#ffffffWhite
#111111Black
From the colors of the web 2026 dataset (dataset.csv, rank 67), measured on October 8, 2026 with scripts off; how it was measured
Measurew3.org
Main color#005a9c, a blue near darkslateblue
Five heaviest colors#ffffff #005a9c #000000 #002a56 #f9dc4a
Colors in use10, 5 more than a gray; 31 distinct values in the CSS
Hue families3; blue and yellow hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 94%, rgb() 4.7%, named colors 1.1%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 18.88:1; 0% of its text under 4.5:1
Page measuredhttps://www.w3.org/, 141.6 KB of CSS

The palette of w3.org

Taken the way Recolor's Use site colours takes a page's colors, w3.org gives the palette #005a9c, #f9dc4a, #75336c, #ffffff and #111111: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open w3.org in Recolor in its own colors or try another palette on w3.org.

CSS variables

CSS
:root {
  --color-1: #005a9c;
  --color-2: #f9dc4a;
  --color-3: #75336c;
  --color-4: #ffffff;
  --color-5: #111111;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #005a9c;
  --color-2: #f9dc4a;
  --color-3: #75336c;
  --color-4: #ffffff;
  --color-5: #111111;
  --color-primary: #005a9c;
  --color-secondary: #f9dc4a;
  --color-accent: #75336c;
}

Text contrast on w3.org

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

How w3.org writes its colors

The 365 color values in its CSS are written as hex codes (94%), rgb() (4.7%) and named colors (1.1%). 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 w3.org 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 w3.org blue?

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

Does w3.org use Tailwind CSS?

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

Is w3.org a dark site?

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

Does the text on w3.org 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 18.88:1 or better.

Can I see w3.org in another palette?

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

Sources