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

The colors of www.ncbi.nlm.nih.gov

The main color of www.ncbi.nlm.nih.gov is #2f4a8b, a blue, and its home page uses 23 colors, 12 of them more than a gray, in 4 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 54 distinct color values in 56.8 KB of CSS, half of its text at 8.49:1 or better against what it sits on.

Measured

#2f4a8bDark Slate Blue
#985735Sienna
#642a8fRebecca Purple
#ffffffWhite
#000000Black
From the colors of the web 2026 dataset (dataset.csv, rank 83), measured on October 8, 2026 with scripts off; how it was measured
Measurewww.ncbi.nlm.nih.gov
Main color#2f4a8b, a blue near darkslateblue
Five heaviest colors#ffffff #cccccc #2f4a8b #000000 #e5e5e5
Colors in use23, 12 more than a gray; 54 distinct values in the CSS
Hue families4; blue, orange and violet hold 5% or more of its color
Canvas#cccccc, light
Dark mode in the CSSNo
Notationshex codes 84%, rgb() 9.2%, named colors 7%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 8.49:1; 0% of its text under 4.5:1
Page measuredhttps://www.ncbi.nlm.nih.gov/, 56.8 KB of CSS

The palette of www.ncbi.nlm.nih.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 www.ncbi.nlm.nih.gov that is #2f4a8b, #985735, #642a8f, #ffffff and #000000. Open www.ncbi.nlm.nih.gov in Recolor in its own colors, or try another palette on www.ncbi.nlm.nih.gov.

CSS variables

CSS
:root {
  --color-1: #2f4a8b;
  --color-2: #985735;
  --color-3: #642a8f;
  --color-4: #ffffff;
  --color-5: #000000;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #2f4a8b;
  --color-2: #985735;
  --color-3: #642a8f;
  --color-4: #ffffff;
  --color-5: #000000;
  --color-primary: #2f4a8b;
  --color-secondary: #985735;
  --color-accent: #642a8f;
}

Text contrast on www.ncbi.nlm.nih.gov

Half of the text on www.ncbi.nlm.nih.gov reads at 8.49: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 www.ncbi.nlm.nih.gov writes its colors

Its CSS writes 185 color values: 84% hex codes, 9.2% in rgb() and 7% named colors. None of its color declarations reads a CSS variable.

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 www.ncbi.nlm.nih.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 www.ncbi.nlm.nih.gov blue?

Yes. Its main color is #2f4a8b, a blue near the CSS color darkslateblue, as on 49% of the 1,000 sites the study read.

Does www.ncbi.nlm.nih.gov use Tailwind CSS?

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

Is www.ncbi.nlm.nih.gov a dark site?

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

Does the text on www.ncbi.nlm.nih.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 8.49:1 or better.

Can I see www.ncbi.nlm.nih.gov in another palette?

Yes. Load www.ncbi.nlm.nih.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