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

The colors of texas.gov

The main color of texas.gov is #304ffe, a blue, and its home page uses 28 colors, 21 of them more than a gray, in 7 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 61 distinct color values in 115.6 KB of CSS, half of its text at 7.58:1 or better against what it sits on.

Measured

#304ffeRoyal Blue
#e96564Tomato
#8158abSlate Blue
#f9f9f9Snow
#47525dDark Slate Gray
From the colors of the web 2026 dataset (dataset.csv, rank 828), measured on October 8, 2026 with scripts off; how it was measured
Measuretexas.gov
Main color#304ffe, a blue near royalblue
Five heaviest colors#f9f9f9 #192984 #304ffe #dcdee1 #2f3345
Colors in use28, 21 more than a gray; 61 distinct values in the CSS
Hue families7; blue and red hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 96%, rgb() 4%
Colors through var()22% of its color declarations; 24 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 7.58:1; 1.7% of its text under 4.5:1
Page measuredhttps://www.texas.gov/, 115.6 KB of CSS

The palette of texas.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 texas.gov that is #304ffe, #e96564, #8158ab, #f9f9f9 and #47525d. Open texas.gov in Recolor in its own colors, or try another palette on texas.gov.

CSS variables

CSS
:root {
  --color-1: #304ffe;
  --color-2: #e96564;
  --color-3: #8158ab;
  --color-4: #f9f9f9;
  --color-5: #47525d;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #304ffe;
  --color-2: #e96564;
  --color-3: #8158ab;
  --color-4: #f9f9f9;
  --color-5: #47525d;
  --color-primary: #304ffe;
  --color-secondary: #e96564;
  --color-accent: #8158ab;
}

Text contrast on texas.gov

Half of the text on texas.gov reads at 7.58: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. 11% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.

How texas.gov writes its colors

Its CSS writes 502 color values: 96% hex codes and 4% in rgb(). 22% of its color declarations read a CSS variable through var(), and it defines 24 variables that hold a color.

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 texas.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 texas.gov blue?

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

Does texas.gov use Tailwind CSS?

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

Is texas.gov a dark site?

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

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

Can I see texas.gov in another palette?

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