A blue site with 21 colors in use, no framework found, 83% of its text at WCAG AA
The colors of eia.gov
On eia.gov, #007eb5 leads: a blue main color among 21 colors in use, 9 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 163 distinct color values in 1010.5 KB of CSS, half of its text at 4.51:1 or better against what it sits on.
Measured
| Measure | eia.gov |
|---|---|
| Main color | #007eb5, a blue near steelblue |
| Five heaviest colors | #007eb5 #ffffff #5d9732 #333333 #0096d7 |
| Colors in use | 21, 9 more than a gray; 163 distinct values in the CSS |
| Hue families | 3; blue, lime and yellow hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 95%, rgb() 4.2%, named colors 0.8%, hsl() 0.3% |
Colors through var() | 16% of its color declarations; 119 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 4.51:1; 17% of its text under 4.5:1 |
| Page measured | https://www.eia.gov/, 1010.5 KB of CSS |
The palette of eia.gov
As a palette, eia.gov is #007eb5, #5d9732, #ffc702, #ffffff and #000000: 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 eia.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: #007eb5;
--color-2: #5d9732;
--color-3: #ffc702;
--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: #007eb5;
--color-2: #5d9732;
--color-3: #ffc702;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: #007eb5;
--color-secondary: #5d9732;
--color-accent: #ffc702;
}Text contrast on eia.gov
On eia.gov, 17% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 17% reads under 4.5:1 and 1.8% under 3:1, while half of it reaches 4.51:1. On the average studied site 6% of the text fails. 4.7% of its text sits on a dark ground. Black or white text on a color explains the lines.
How eia.gov writes its colors
The 1,057 color values in its CSS are written as hex codes (95%), rgb() (4.2%), named colors (0.8%) and hsl() (0.3%). Through var(), 16% of its color declarations take their color from a CSS variable; 119 variables hold one.
No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. No dark mode shows in its CSS; 41% of the studied sites declare one.
Sites with a similar main color
The blue sites nearest eia.gov in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it.
Common questions
Is the main color of eia.gov blue?
Yes. Its main color is #007eb5, a blue near the CSS color steelblue, as on 49% of the 1,000 sites the study read.
Does eia.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is eia.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on eia.gov pass WCAG AA?
No. 17% of its text fails AA, though half of it reads at 4.51:1 or better.
Can I see eia.gov in another palette?
Yes. Load eia.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 1117 recolor.page
- eia.gov, the page measured eia.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com