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

The colors of ca.gov

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

Measured

#0d6efdRoyal Blue
#fdb81eOrange
#ffffffWhite
#323a45Dark Slate Gray
#d4d4d7Light Gray
From the colors of the web 2026 dataset (dataset.csv, rank 217), measured on October 8, 2026 with scripts off; how it was measured
Measureca.gov
Main color#0d6efd, a blue near royalblue
Five heaviest colors#ffffff #046b99 #0d6efd #323a45 #000000
Colors in use19, 10 more than a gray; 142 distinct values in the CSS
Hue families2; blue holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 92%, rgb() 5.1%, bare channels in a variable 2.3%, named colors 0.1%
Colors through var()93% of its color declarations; 244 variables hold a color
FrameworkBootstrap
Text contrastMedian 10.32:1; 0% of its text under 4.5:1
Page measuredhttps://www.ca.gov/, 143.1 KB of CSS

The palette of ca.gov

Taken the way Recolor's Use site colours takes a page's colors, ca.gov gives the palette #0d6efd, #fdb81e, #ffffff, #323a45 and #d4d4d7: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open ca.gov in Recolor in its own colors or try another palette on ca.gov.

CSS variables

CSS
:root {
  --color-1: #0d6efd;
  --color-2: #fdb81e;
  --color-3: #ffffff;
  --color-4: #323a45;
  --color-5: #d4d4d7;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #0d6efd;
  --color-2: #fdb81e;
  --color-3: #ffffff;
  --color-4: #323a45;
  --color-5: #d4d4d7;
  --color-primary: #0d6efd;
  --color-secondary: #fdb81e;
  --color-accent: #ffffff;
}

Text contrast on ca.gov

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

How ca.gov writes its colors

Its CSS writes 769 color values: 92% hex codes, 5.1% in rgb(), 2.3% bare channels in a variable and 0.1% named colors. 93% of its color declarations read a CSS variable through var(), and it defines 244 variables that hold a color. It also mixes colors with color-mix() 46 times.

Its CSS carries Bootstrap's variables (one of 130 Bootstrap 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 ca.gov's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. ca.gov is also listed under Bootstrap sites.

Common questions

Is the main color of ca.gov blue?

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

Does ca.gov use Tailwind CSS?

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

Is ca.gov a dark site?

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

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

Can I see ca.gov in another palette?

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