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

The colors of cancer.gov

Recolor (recolor.page) read the home page of cancer.gov on October 8, 2026: its main color is #007bbd, a blue, and it paints 22 colors in 5 hue families out of 70 distinct values in its CSS, half of its text at 17.22:1 or better against what it sits on.

Measured

#007bbdSteel Blue
#298085Teal
#face00Gold
#ffffffWhite
#1b1b1bMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 804), measured on October 8, 2026 with scripts off; how it was measured
Measurecancer.gov
Main color#007bbd, a blue near steelblue
Five heaviest colors#ffffff #007bbd #f0f0f0 #298085 #06162d
Colors in use22, 14 more than a gray; 70 distinct values in the CSS
Hue families5; blue and cyan hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 99%, rgb() 1.4%, named colors 0.1%
Colors through var()0% of its color declarations; 0 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 17.22:1; 0% of its text under 4.5:1
Page measuredhttps://www.cancer.gov/, 631.1 KB of CSS

The palette of cancer.gov

Taken the way Recolor's Use site colours takes a page's colors, cancer.gov gives the palette #007bbd, #298085, #face00, #ffffff and #1b1b1b: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open cancer.gov in Recolor in its own colors or try another palette on cancer.gov.

CSS variables

CSS
:root {
  --color-1: #007bbd;
  --color-2: #298085;
  --color-3: #face00;
  --color-4: #ffffff;
  --color-5: #1b1b1b;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #007bbd;
  --color-2: #298085;
  --color-3: #face00;
  --color-4: #ffffff;
  --color-5: #1b1b1b;
  --color-primary: #007bbd;
  --color-secondary: #298085;
  --color-accent: #face00;
}

Text contrast on cancer.gov

All of the measured text on cancer.gov clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 17.22:1. On the average studied site 6% of the text fails. 36% of its text sits on a dark ground. More in Black or white text on a color.

How cancer.gov writes its colors

The 1,013 color values in its CSS are written as hex codes (99%), rgb() (1.4%) and named colors (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 cancer.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 cancer.gov blue?

Yes. Its main color is #007bbd, a blue near the CSS color steelblue, as on 49% of the 1,000 sites the study read.

Does cancer.gov use Tailwind CSS?

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

Is cancer.gov a dark site?

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

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

Can I see cancer.gov in another palette?

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