A violet site with 23 colors in use, built with Tailwind CSS 4, all of its text at WCAG AA

The colors of nationalacademies.org

The main color of nationalacademies.org is #211747, a violet, and its home page uses 23 colors, 14 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: 120 distinct color values in 251.8 KB of CSS, half of its text at 12.46:1 or better against what it sits on.

Measured

#211747Midnight Blue
#e2effaLavender
#6d5730Saddle Brown
#ffffffWhite
#2e2e37Dark Slate Gray
From the colors of the web 2026 dataset (dataset.csv, rank 1130), measured on October 8, 2026 with scripts off; how it was measured
Measurenationalacademies.org
Main color#211747, a violet near midnightblue
Five heaviest colors#ffffff #16161b #e2effa #211747 #2e2e37
Colors in use23, 14 more than a gray; 120 distinct values in the CSS
Hue families5; violet and blue hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 93%, rgb() 4.8%, named colors 2.6%
Colors through var()79% of its color declarations; 136 variables hold a color
FrameworkTailwind CSS 4
Text contrastMedian 12.46:1; 0% of its text under 4.5:1
Page measuredhttps://www.nationalacademies.org/, 251.8 KB of CSS

The palette of nationalacademies.org

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 nationalacademies.org that is #211747, #e2effa, #6d5730, #ffffff and #2e2e37. Open nationalacademies.org in Recolor in its own colors, or try another palette on nationalacademies.org.

CSS variables

CSS
:root {
  --color-1: #211747;
  --color-2: #e2effa;
  --color-3: #6d5730;
  --color-4: #ffffff;
  --color-5: #2e2e37;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #211747;
  --color-2: #e2effa;
  --color-3: #6d5730;
  --color-4: #ffffff;
  --color-5: #2e2e37;
  --color-primary: #211747;
  --color-secondary: #e2effa;
  --color-accent: #6d5730;
}

Text contrast on nationalacademies.org

Half of the text on nationalacademies.org reads at 12.46: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. 13% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How nationalacademies.org writes its colors

Its CSS writes 271 color values: 93% hex codes, 4.8% in rgb() and 2.6% named colors. 79% of its color declarations read a CSS variable through var(), and it defines 136 variables that hold a color.

Its CSS carries Tailwind CSS's variables, version 4 (one of 201 Tailwind CSS sites). It declares no dark mode in its CSS, as 59% of the studied sites do not.

Sites with a similar main color

Other violet sites whose main color is about as light as nationalacademies.org's. All 33 are on the violet page, and colors that go with violet shows what they pair it with. nationalacademies.org is also listed under Tailwind CSS sites.

Common questions

Is the main color of nationalacademies.org blue?

No. Its main color is #211747, a violet near the CSS color midnightblue; blue leads on 49% of the 1,000 sites the study read.

Does nationalacademies.org use Tailwind CSS?

Yes. Its CSS carries Tailwind CSS's variables, version 4, like 201 of the 1,000 sites the study read.

Is nationalacademies.org a dark site?

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

Does the text on nationalacademies.org 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 12.46:1 or better.

Can I see nationalacademies.org in another palette?

Yes. Load nationalacademies.org in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources