A blue site with 17 colors in use, built with Tailwind CSS, 99.7% of its text at WCAG AA
The colors of drupal.org
Recolor (recolor.page) read the home page of drupal.org on October 8, 2026: its main color is #12285f, a blue, and it paints 17 colors in 5 hue families out of 117 distinct values in its CSS, half of its text at 14.05:1 or better against what it sits on.
Measured
| Measure | drupal.org |
|---|---|
| Main color | #12285f, a blue near midnightblue |
| Five heaviest colors | #12285f #ffffff #ccedf9 #ccbaf4 #6d7583 |
| Colors in use | 17, 9 more than a gray; 117 distinct values in the CSS |
| Hue families | 5; blue, cyan and violet hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 89%, rgb() 7%, named colors 3%, hsl() 1.1% |
Colors through var() | 58% of its color declarations; 43 variables hold a color |
| Framework | Tailwind CSS |
| Text contrast | Median 14.05:1; 3.4% of its text under 4.5:1 |
| Page measured | https://new.drupal.org/, 292.3 KB of CSS |
The palette of drupal.org
Taken the way Recolor's Use site colours takes a page's colors, drupal.org gives the palette #12285f, #009cde, #ccbaf4, #ffffff and #000000: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open drupal.org in Recolor in its own colors or try another palette on drupal.org.
CSS variables
:root {
--color-1: #12285f;
--color-2: #009cde;
--color-3: #ccbaf4;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #12285f;
--color-2: #009cde;
--color-3: #ccbaf4;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: #12285f;
--color-secondary: #009cde;
--color-accent: #ccbaf4;
}Text contrast on drupal.org
The median contrast of the text on drupal.org is 14.05:1, and 0.3% of it fails WCAG AA: 3.4% is under 4.5:1 and 0.2% under 3:1. On the average studied site 6% of the text fails. 16% of its text sits on a dark ground. To pick a readable ink for a background, see Black or white text on a color.
How drupal.org writes its colors
The 371 color values in its CSS are written as hex codes (89%), rgb() (7%), named colors (3%) and hsl() (1.1%). Through var(), 58% of its color declarations take their color from a CSS variable; 43 variables hold one. It also writes 1 relative color.
By its variables, the study told Tailwind CSS's variables (one of 201 Tailwind CSS sites) 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 drupal.org in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. drupal.org is also listed under Tailwind CSS sites.
Common questions
Is the main color of drupal.org blue?
Yes. Its main color is #12285f, a blue near the CSS color midnightblue, as on 49% of the 1,000 sites the study read.
Does drupal.org use Tailwind CSS?
Yes. Its CSS carries Tailwind CSS's variables, like 201 of the 1,000 sites the study read.
Is drupal.org a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on drupal.org pass WCAG AA?
No. 0.3% of its text fails AA, though half of it reads at 14.05:1 or better.
Can I see drupal.org in another palette?
Yes. Load drupal.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
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 618 recolor.page
- drupal.org, the page measured new.drupal.org
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com