A blue site with 6 colors in use, built with Material, all of its text at WCAG AA

The colors of clinicaltrials.gov

Recolor (recolor.page) read the home page of clinicaltrials.gov on October 8, 2026: its main color is #112e51, a blue, and it paints 6 colors in 1 hue family out of 489 distinct values in its CSS, half of its text at 13.69:1 or better against what it sits on.

Measured

#112e51Midnight Blue
#ffffffWhite
#000000Black
#1b1b1bMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 982), measured on October 8, 2026 with scripts off; how it was measured
Measureclinicaltrials.gov
Main color#112e51, a blue near midnightblue
Five heaviest colors#112e51 #ffffff #0071bc #1b1b1b #2491ff
Colors in use6, 4 more than a gray; 489 distinct values in the CSS
Hue families1; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 73%, rgb() 22%, named colors 4.7%
Colors through var()2.6% of its color declarations; 979 variables hold a color
FrameworkMaterial
Text contrastMedian 13.69:1; 0% of its text under 4.5:1
Page measuredhttps://clinicaltrials.gov/, 1550.7 KB of CSS

The palette of clinicaltrials.gov

Taken the way Recolor's Use site colours takes a page's colors, clinicaltrials.gov gives the palette #112e51, #ffffff, #000000 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 clinicaltrials.gov in Recolor in its own colors or try another palette on clinicaltrials.gov.

CSS variables

CSS
:root {
  --color-1: #112e51;
  --color-2: #ffffff;
  --color-3: #000000;
  --color-4: #1b1b1b;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #112e51;
  --color-2: #ffffff;
  --color-3: #000000;
  --color-4: #1b1b1b;
  --color-primary: #112e51;
  --color-secondary: #ffffff;
  --color-accent: #000000;
}

Text contrast on clinicaltrials.gov

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

How clinicaltrials.gov writes its colors

Its CSS writes 7,336 color values: 73% hex codes, 22% in rgb() and 4.7% named colors. 2.6% of its color declarations read a CSS variable through var(), and it defines 979 variables that hold a color. It also mixes colors with color-mix() 413 times.

Its CSS carries Material's color tokens. 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 clinicaltrials.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 clinicaltrials.gov blue?

Yes. Its main color is #112e51, a blue near the CSS color midnightblue, as on 49% of the 1,000 sites the study read.

Does clinicaltrials.gov use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables; the study found Material.

Is clinicaltrials.gov a dark site?

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

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

Can I see clinicaltrials.gov in another palette?

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