A blue site with 15 colors in use, no framework found, all of its text at WCAG AA
The colors of epa.gov
Recolor (recolor.page) read the home page of epa.gov on October 8, 2026: its main color is #005ea2, a blue, and it paints 15 colors in 3 hue families out of 87 distinct values in its CSS, half of its text at 7.38:1 or better against what it sits on.
Measured
| Measure | epa.gov |
|---|---|
| Main color | #005ea2, a blue near darkslateblue |
| Five heaviest colors | #162e51 #ffffff #edeff0 #005ea2 #565c65 |
| Colors in use | 15, 6 more than a gray; 87 distinct values in the CSS |
| Hue families | 3; blue holds 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 93%, rgb() 6.1%, named colors 1% |
Colors through var() | 0.3% of its color declarations; 9 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 7.38:1; 0% of its text under 4.5:1 |
| Page measured | https://www.epa.gov/, 899.8 KB of CSS |
The palette of epa.gov
Taken the way Recolor's Use site colours takes a page's colors, epa.gov gives the palette #005ea2, #54278f, #00bde3, #ffffff and #1b1b1b: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open epa.gov in Recolor in its own colors or try another palette on epa.gov.
CSS variables
:root {
--color-1: #005ea2;
--color-2: #54278f;
--color-3: #00bde3;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #005ea2;
--color-2: #54278f;
--color-3: #00bde3;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: #005ea2;
--color-secondary: #54278f;
--color-accent: #00bde3;
}Text contrast on epa.gov
All of the measured text on epa.gov clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 7.38:1. On the average studied site 6% of the text fails. Most of its text, 52%, sits on a dark ground. More in Black or white text on a color.
How epa.gov writes its colors
Its CSS writes 2,504 color values: 93% hex codes, 6.1% in rgb() and 1% named colors. 0.3% of its color declarations read a CSS variable through var(), and it defines 9 variables that hold a color.
The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares no dark mode in its CSS, as 59% of the studied sites do not.
Sites with a similar main color
Other blue sites whose main color is about as light as epa.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with.
Common questions
Is the main color of epa.gov blue?
Yes. Its main color is #005ea2, a blue near the CSS color darkslateblue, as on 49% of the 1,000 sites the study read.
Does epa.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is epa.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on epa.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 7.38:1 or better.
Can I see epa.gov in another palette?
Yes. Load epa.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 273 recolor.page
- epa.gov, the page measured epa.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com