A blue site with 21 colors in use, no framework found, all of its text at WCAG AA

The colors of nsf.gov

The main color of nsf.gov is #0076d6, a blue, and its home page uses 21 colors, 14 of them more than a gray, in 3 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 109 distinct color values in 1111 KB of CSS, half of its text at 6.72:1 or better against what it sits on.

Measured

#0076d6Royal Blue
#e5a000Goldenrod
#0ceda6Medium Spring Green
#ffffffWhite
#1c1d1fMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 1259), measured on October 8, 2026 with scripts off; how it was measured
Measurensf.gov
Main color#0076d6, a blue near royalblue
Five heaviest colors#ffffff #005ea2 #0076d6 #1c1d1f #162e51
Colors in use21, 14 more than a gray; 109 distinct values in the CSS
Hue families3; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 98%, rgb() 0.9%, hsl() 0.6%, named colors under 0.1%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 6.72:1; 0% of its text under 4.5:1
Page measuredhttps://www.nsf.gov/, 1111 KB of CSS

The palette of nsf.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 nsf.gov that is #0076d6, #e5a000, #0ceda6, #ffffff and #1c1d1f. Open nsf.gov in Recolor in its own colors, or try another palette on nsf.gov.

CSS variables

CSS
:root {
  --color-1: #0076d6;
  --color-2: #e5a000;
  --color-3: #0ceda6;
  --color-4: #ffffff;
  --color-5: #1c1d1f;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #0076d6;
  --color-2: #e5a000;
  --color-3: #0ceda6;
  --color-4: #ffffff;
  --color-5: #1c1d1f;
  --color-primary: #0076d6;
  --color-secondary: #e5a000;
  --color-accent: #0ceda6;
}

Text contrast on nsf.gov

Half of the text on nsf.gov reads at 6.72:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. Most of its text, 67%, sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How nsf.gov writes its colors

The 2,664 color values in its CSS are written as hex codes (98%), rgb() (0.9%), hsl() (0.6%) and named colors (under 0.1%). Its color declarations write their colors directly, with no var().

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 nsf.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 nsf.gov blue?

Yes. Its main color is #0076d6, a blue near the CSS color royalblue, as on 49% of the 1,000 sites the study read.

Does nsf.gov use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is nsf.gov a dark site?

No. The color behind its home page is #ffffff, a light canvas.

Does the text on nsf.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 6.72:1 or better.

Can I see nsf.gov in another palette?

Yes. Load nsf.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