A blue site with 19 colors in use, built with Tailwind CSS, all of its text at WCAG AA

The colors of cms.gov

Recolor (recolor.page) read the home page of cms.gov on October 8, 2026: its main color is #0d2499, a blue, and it paints 19 colors in 5 hue families out of 122 distinct values in its CSS, half of its text at 13.52:1 or better against what it sits on.

Measured

#0d2499Dark Blue
#42e288Medium Spring Green
#7e369eRebecca Purple
#ffffffWhite
#262626Dark Slate Gray
From the colors of the web 2026 dataset (dataset.csv, rank 1313), measured on October 8, 2026 with scripts off; how it was measured
Measurecms.gov
Main color#0d2499, a blue near darkblue
Five heaviest colors#0d2499 #ffffff #262626 #d9d9d9 #aeb0b5
Colors in use19, 10 more than a gray; 122 distinct values in the CSS
Hue families5; blue, green, magenta, yellow and orange hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 93%, rgb() 5.9%, named colors 0.7%
Colors through var()84% of its color declarations; 104 variables hold a color
FrameworkTailwind CSS
Text contrastMedian 13.52:1; 0% of its text under 4.5:1
Page measuredhttps://www.cms.gov/, 529.8 KB of CSS

The palette of cms.gov

Taken the way Recolor's Use site colours takes a page's colors, cms.gov gives the palette #0d2499, #42e288, #7e369e, #ffffff and #262626: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open cms.gov in Recolor in its own colors or try another palette on cms.gov.

CSS variables

CSS
:root {
  --color-1: #0d2499;
  --color-2: #42e288;
  --color-3: #7e369e;
  --color-4: #ffffff;
  --color-5: #262626;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #0d2499;
  --color-2: #42e288;
  --color-3: #7e369e;
  --color-4: #ffffff;
  --color-5: #262626;
  --color-primary: #0d2499;
  --color-secondary: #42e288;
  --color-accent: #7e369e;
}

Text contrast on cms.gov

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

How cms.gov writes its colors

Its CSS writes 270 color values: 93% hex codes, 5.9% in rgb() and 0.7% named colors. 84% of its color declarations read a CSS variable through var(), and it defines 104 variables that hold a color.

Its CSS carries Tailwind CSS's variables (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 blue sites whose main color is about as light as cms.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. cms.gov is also listed under Tailwind CSS sites.

Common questions

Is the main color of cms.gov blue?

Yes. Its main color is #0d2499, a blue near the CSS color darkblue, as on 49% of the 1,000 sites the study read.

Does cms.gov use Tailwind CSS?

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

Is cms.gov a dark site?

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

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

Can I see cms.gov in another palette?

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