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
| Measure | lego.com |
|---|---|
| Main color | #006db7, a blue near royalblue |
| Five heaviest colors | #ffffff #141414 #000000 #006db7 #ffd502 |
| Colors in use | 24, 16 more than a gray; 338 distinct values in the CSS |
| Hue families | 6; blue, yellow, violet, orange and cyan hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark and a dark theme's class or attribute |
| Notations | hex 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 |
| Framework | None the study looks for |
| Text contrast | Median 18.42:1; 2.7% of its text under 4.5:1 |
| Page measured | https://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
: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
@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
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 906 recolor.page
- lego.com, the page measured lego.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com