A blue site with 24 colors in use, no framework found, 97% of its text at WCAG AA

The colors of lego.com

On lego.com, #006db7 leads: a blue main color among 24 colors in use, 16 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 338 distinct color values in 1002.3 KB of CSS, half of its text at 18.42:1 or better against what it sits on.

Measured

#006db7Royal Blue
#ffd502Gold
#4c2f92Dark Slate Blue
#ffffffWhite
#141414Midnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 906), measured on October 8, 2026 with scripts off; how it was measured
Measurelego.com
Main color#006db7, a blue near royalblue
Five heaviest colors#ffffff #141414 #000000 #006db7 #ffd502
Colors in use24, 16 more than a gray; 338 distinct values in the CSS
Hue families6; blue, yellow, violet, orange and cyan hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSYes: prefers-color-scheme: dark and a dark theme's class or attribute
Notationshex codes 99%, hsl() 0.7%, rgb() 0.3%, named colors 0.1%
Colors through var()94% of its color declarations; 1,908 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 18.42:1; 2.7% of its text under 4.5:1
Page measuredhttps://www.lego.com/en-nl, 1002.3 KB of CSS

The palette of lego.com

As a palette, lego.com is #006db7, #ffd502, #4c2f92, #ffffff and #141414: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open lego.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.

CSS variables

CSS
:root {
  --color-1: #006db7;
  --color-2: #ffd502;
  --color-3: #4c2f92;
  --color-4: #ffffff;
  --color-5: #141414;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #006db7;
  --color-2: #ffd502;
  --color-3: #4c2f92;
  --color-4: #ffffff;
  --color-5: #141414;
  --color-primary: #006db7;
  --color-secondary: #ffd502;
  --color-accent: #4c2f92;
}

Text contrast on lego.com

On lego.com, 2.7% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 2.7% reads under 4.5:1 and 1.7% under 3:1, while half of it reaches 18.42:1. On the average studied site 6% of the text fails. 43% of its text sits on a dark ground. Black or white text on a color explains the lines.

How lego.com writes its colors

The 2,101 color values in its CSS are written as hex codes (99%), hsl() (0.7%), rgb() (0.3%) and named colors (0.1%). Through var(), 94% of its color declarations take their color from a CSS variable; 1,908 variables hold one. It also mixes colors with color-mix() 1 time and writes 10 relative colors.

No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. Its CSS holds dark colors under a prefers-color-scheme: dark media query and a dark theme's class or attribute: a dark mode, as on 406 sites of the 1,000.

Sites with a similar main color

The blue sites nearest lego.com in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. lego.com is also listed under sites with a dark mode.

Common questions

Is the main color of lego.com blue?

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

Does lego.com use Tailwind CSS?

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

Is lego.com a dark site?

No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.

Does the text on lego.com pass WCAG AA?

No. 2.7% of its text fails AA, though half of it reads at 18.42:1 or better.

Can I see lego.com in another palette?

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

Sources