A blue site with 28 colors in use, no framework found, 94% of its text at WCAG AA
The colors of nist.gov
On nist.gov, #005ea2 leads: a blue main color among 28 colors in use, 18 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 123 distinct color values in 728.4 KB of CSS, half of its text at 13.2:1 or better against what it sits on.
Measured
| Measure | nist.gov |
|---|---|
| Main color | #005ea2, a blue near darkslateblue |
| Five heaviest colors | #000000 #005ea2 #ffffff #f0f0f0 #5c5c5c |
| Colors in use | 28, 18 more than a gray; 123 distinct values in the CSS |
| Hue families | 5; blue and violet hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: a dark theme's class or attribute and light-dark() |
| Notations | hex codes 98%, rgb() 1.7%, named colors 0.3% |
Colors through var() | 3.5% of its color declarations; 39 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 13.2:1; 5.6% of its text under 4.5:1 |
| Page measured | https://www.nist.gov/, 728.4 KB of CSS |
The palette of nist.gov
As a palette, nist.gov is #005ea2, #54278f, #008817, #f0f0f0 and #1b1b1b: 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 nist.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: #005ea2;
--color-2: #54278f;
--color-3: #008817;
--color-4: #f0f0f0;
--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: #008817;
--color-4: #f0f0f0;
--color-5: #1b1b1b;
--color-primary: #005ea2;
--color-secondary: #54278f;
--color-accent: #008817;
}Text contrast on nist.gov
On nist.gov, 5.6% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 5.6% reads under 4.5:1 and 5.1% under 3:1, while half of it reaches 13.2:1. On the average studied site 6% of the text fails. Most of its text, 51%, sits on a dark ground. Black or white text on a color explains the lines.
How nist.gov writes its colors
The 2,030 color values in its CSS are written as hex codes (98%), rgb() (1.7%) and named colors (0.3%). Through var(), 3.5% of its color declarations take their color from a CSS variable; 39 variables hold one. It also uses light-dark() 5 times.
No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. Its CSS holds dark colors under a dark theme's class or attribute and light-dark(): a dark mode, as on 406 sites of the 1,000.
Sites with a similar main color
The blue sites nearest nist.gov in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. nist.gov is also listed under sites with a dark mode.
Common questions
Is the main color of nist.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 nist.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is nist.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on nist.gov pass WCAG AA?
No. 5.6% of its text fails AA, though half of it reads at 13.2:1 or better.
Can I see nist.gov in another palette?
Yes. Load nist.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 269 recolor.page
- nist.gov, the page measured nist.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com