An indigo site with 24 colors in use, built with WordPress, all of its text at WCAG AA
The colors of whitehouse.gov
On whitehouse.gov, #0d132d leads: an indigo main color among 24 colors in use, 11 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 130 distinct color values in 200.4 KB of CSS, half of its text at 12.79:1 or better against what it sits on.
Measured
| Measure | whitehouse.gov |
|---|---|
| Main color | #0d132d, an indigo near midnightblue |
| Five heaviest colors | #ffffff #8a8a8a #0d132d #000000 #f0f0f0 |
| Colors in use | 24, 11 more than a gray; 130 distinct values in the CSS |
| Hue families | 4; indigo and red hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 76%, rgb() 22%, named colors 1.9%, hsl() 0.3% |
Colors through var() | 55% of its color declarations; 71 variables hold a color |
| Framework | WordPress |
| Text contrast | Median 12.79:1; 0% of its text under 4.5:1 |
| Page measured | https://www.whitehouse.gov/, 200.4 KB of CSS |
The palette of whitehouse.gov
As a palette, whitehouse.gov is #0d132d, #b50000, #f00075, #ffffff and #293340: 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 whitehouse.gov 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: #0d132d;
--color-2: #b50000;
--color-3: #f00075;
--color-4: #ffffff;
--color-5: #293340;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #0d132d;
--color-2: #b50000;
--color-3: #f00075;
--color-4: #ffffff;
--color-5: #293340;
--color-primary: #0d132d;
--color-secondary: #b50000;
--color-accent: #f00075;
}Text contrast on whitehouse.gov
Every piece of text the study read on whitehouse.gov passes WCAG AA, with half of it at 12.79:1 or better. On the average studied site 6% of the text fails. 46% of its text sits on a dark ground. Black or white text on a color explains the 4.5:1 and 3:1 lines.
How whitehouse.gov writes its colors
Its CSS writes 322 color values: 76% hex codes, 22% in rgb(), 1.9% named colors and 0.3% in hsl(). 55% of its color declarations read a CSS variable through var(), and it defines 71 variables that hold a color. It also writes 6 relative colors.
Its CSS carries WordPress's color presets. It declares no dark mode in its CSS, as 59% of the studied sites do not.
Sites with a similar main color
Other indigo sites whose main color is about as light as whitehouse.gov's. All 41 are on the indigo page, and colors that go with indigo shows what they pair it with.
Common questions
Is the main color of whitehouse.gov blue?
No. Its main color is #0d132d, an indigo near the CSS color midnightblue; blue leads on 49% of the 1,000 sites the study read.
Does whitehouse.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found WordPress.
Is whitehouse.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on whitehouse.gov 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 12.79:1 or better.
Can I see whitehouse.gov in another palette?
Yes. Load whitehouse.gov 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 294 recolor.page
- whitehouse.gov, the page measured whitehouse.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com