A blue site with 28 colors in use, built with Bootstrap 4, all of its text at WCAG AA
The colors of nj.gov
Recolor (recolor.page) read the home page of nj.gov on October 8, 2026: its main color is #007bff, a blue, and it paints 28 colors in 5 hue families out of 201 distinct values in its CSS, half of its text at 7.04:1 or better against what it sits on.
Measured
| Measure | nj.gov |
|---|---|
| Main color | #007bff, a blue near dodgerblue |
| Five heaviest colors | #ffffff #0056b3 #007bff #417e04 #043079 |
| Colors in use | 28, 18 more than a gray; 201 distinct values in the CSS |
| Hue families | 5; blue and lime hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 84%, rgb() 15%, named colors 1% |
Colors through var() | 8% of its color declarations; 43 variables hold a color |
| Framework | Bootstrap 4 |
| Text contrast | Median 7.04:1; 0% of its text under 4.5:1 |
| Page measured | https://nj.gov/, 599.7 KB of CSS |
The palette of nj.gov
Taken the way Recolor's Use site colours takes a page's colors, nj.gov gives the palette #007bff, #417e04, #c32aa3, #ffffff and #212529: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open nj.gov in Recolor in its own colors or try another palette on nj.gov.
CSS variables
:root {
--color-1: #007bff;
--color-2: #417e04;
--color-3: #c32aa3;
--color-4: #ffffff;
--color-5: #212529;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #007bff;
--color-2: #417e04;
--color-3: #c32aa3;
--color-4: #ffffff;
--color-5: #212529;
--color-primary: #007bff;
--color-secondary: #417e04;
--color-accent: #c32aa3;
}Text contrast on nj.gov
All of the measured text on nj.gov clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 7.04:1. On the average studied site 6% of the text fails. 20% of its text sits on a dark ground. More in Black or white text on a color.
How nj.gov writes its colors
The 1,924 color values in its CSS are written as hex codes (84%), rgb() (15%) and named colors (1%). Through var(), 8% of its color declarations take their color from a CSS variable; 43 variables hold one.
By its variables, the study told Bootstrap's variables, version 4 (one of 130 Bootstrap sites) in its CSS. No dark mode shows in its CSS; 41% of the studied sites declare one.
Sites with a similar main color
The blue sites nearest nj.gov in the lightness of their main color. The blue page lists all 490; colors that go with blue counts the hues beside it. nj.gov is also listed under Bootstrap sites.
Common questions
Is the main color of nj.gov blue?
Yes. Its main color is #007bff, a blue near the CSS color dodgerblue, as on 49% of the 1,000 sites the study read.
Does nj.gov use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap 4.
Is nj.gov a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on nj.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.04:1 or better.
Can I see nj.gov in another palette?
Yes. Load nj.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
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 1496 recolor.page
- nj.gov, the page measured nj.gov
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com