A blue site with 14 colors in use, built with WordPress, all of its text at WCAG AA
The colors of cern.ch
The main color of cern.ch is #265cbf, a blue, and its home page uses 14 colors, 6 of them more than a gray, in 2 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 160 distinct color values in 378 KB of CSS, half of its text at 21:1 or better against what it sits on.
Measured
| Measure | cern.ch |
|---|---|
| Main color | #265cbf, a blue near royalblue |
| Five heaviest colors | #ffffff #151515 #666666 #265cbf #16222b |
| Colors in use | 14, 6 more than a gray; 160 distinct values in the CSS |
| Hue families | 2; blue holds 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 75%, rgb() 17%, named colors 6.5%, hsl() 1.1%, oklab() 0.4%, hwb() 0.2% |
Colors through var() | 51% of its color declarations; 65 variables hold a color |
| Framework | WordPress |
| Text contrast | Median 21:1; 0% of its text under 4.5:1 |
| Page measured | https://home.cern/, 378 KB of CSS |
The palette of cern.ch
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 cern.ch that is #265cbf, #ff7b00, #ffffff, #000000 and #151515. Open cern.ch in Recolor in its own colors, or try another palette on cern.ch.
CSS variables
:root {
--color-1: #265cbf;
--color-2: #ff7b00;
--color-3: #ffffff;
--color-4: #000000;
--color-5: #151515;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #265cbf;
--color-2: #ff7b00;
--color-3: #ffffff;
--color-4: #000000;
--color-5: #151515;
--color-primary: #265cbf;
--color-secondary: #ff7b00;
--color-accent: #ffffff;
}Text contrast on cern.ch
Half of the text on cern.ch reads at 21: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. 39% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.
How cern.ch writes its colors
The 558 color values in its CSS are written as hex codes (75%), rgb() (17%), named colors (6.5%), hsl() (1.1%), oklab() (0.4%) and hwb() (0.2%). Through var(), 51% of its color declarations take their color from a CSS variable; 65 variables hold one. It also mixes colors with color-mix() 1 time.
By its variables, the study told WordPress's color presets in its CSS. No dark mode shows in its CSS; 41% of the studied sites declare one.
Sites with a similar main color
The blue sites nearest cern.ch 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 cern.ch blue?
Yes. Its main color is #265cbf, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.
Does cern.ch use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found WordPress.
Is cern.ch a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on cern.ch 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 21:1 or better.
Can I see cern.ch in another palette?
Yes. Load cern.ch in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 1214 recolor.page
- cern.ch, the page measured home.cern
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com