A blue site with 23 colors in use, no framework found, 100% of its text at WCAG AA
The colors of sec.gov
The main color of sec.gov is #005ea2, a blue, and its home page uses 23 colors, 13 of them more than a gray, in 5 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 147 distinct color values in 588.9 KB of CSS, half of its text at 14.11:1 or better against what it sits on.
Measured
| Measure | sec.gov |
|---|---|
| Main color | #005ea2, a blue near darkslateblue |
| Five heaviest colors | #ffffff #005ea2 #f0f0f0 #1b1b1b #000000 |
| Colors in use | 23, 13 more than a gray; 147 distinct values in the CSS |
| Hue families | 5; blue and red hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 95%, rgb() 4.1%, hsl() 1%, named colors 0.2% |
Colors through var() | 6.9% of its color declarations; 18 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 14.11:1; under 0.1% of its text under 4.5:1 |
| Page measured | https://www.sec.gov/, 588.9 KB of CSS |
The palette of sec.gov
Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For sec.gov that is #005ea2, #c31632, #54278f, #ffffff and #1b1b1b. Open sec.gov in Recolor in its own colors, or try another palette on sec.gov.
CSS variables
:root {
--color-1: #005ea2;
--color-2: #c31632;
--color-3: #54278f;
--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: #c31632;
--color-3: #54278f;
--color-4: #ffffff;
--color-5: #1b1b1b;
--color-primary: #005ea2;
--color-secondary: #c31632;
--color-accent: #54278f;
}Text contrast on sec.gov
Half of the text on sec.gov reads at 14.11:1 or better against what it sits on. Under 0.1% of it falls under 4.5:1, the WCAG AA line for body text, and under 0.1% under 3:1, the line for large text; judged as AA judges each piece of text, under 0.1% fails. On the average studied site 6% of the text fails. 29% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.
How sec.gov writes its colors
Its CSS writes 1,354 color values: 95% hex codes, 4.1% in rgb(), 1% in hsl() and 0.2% named colors. 6.9% of its color declarations read a CSS variable through var(), and it defines 18 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 sec.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 sec.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 sec.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is sec.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on sec.gov pass WCAG AA?
No. Under 0.1% of its text fails AA, though half of it reads at 14.11:1 or better.
Can I see sec.gov in another palette?
Yes. Load sec.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 503 recolor.page
- sec.gov, the page measured sec.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com