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

The colors of java.com

On java.com, #3a75b0 leads: a blue main color among 18 colors in use, 12 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 120 distinct color values in 172.2 KB of CSS, half of its text at 8.5:1 or better against what it sits on.

Measured

#3a75b0Steel Blue
#f0cc71Khaki
#cc2200Crimson
#ffffffWhite
#111111Black
From the colors of the web 2026 dataset (dataset.csv, rank 594), measured on October 8, 2026 with scripts off; how it was measured
Measurejava.com
Main color#3a75b0, a blue near steelblue
Five heaviest colors#ffffff #f1efed #3a75b0 #f0cc71 #04536f
Colors in use18, 12 more than a gray; 120 distinct values in the CSS
Hue families3; blue, yellow and red hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 84%, rgb() 9.4%, named colors 7%
Colors through var()3.2% of its color declarations; 37 variables hold a color
FrameworkBootstrap
Text contrastMedian 8.5:1; 0% of its text under 4.5:1
Page measuredhttps://www.java.com/en/, 172.2 KB of CSS

The palette of java.com

As a palette, java.com is #3a75b0, #f0cc71, #cc2200, #ffffff and #111111: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open java.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.

CSS variables

CSS
:root {
  --color-1: #3a75b0;
  --color-2: #f0cc71;
  --color-3: #cc2200;
  --color-4: #ffffff;
  --color-5: #111111;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #3a75b0;
  --color-2: #f0cc71;
  --color-3: #cc2200;
  --color-4: #ffffff;
  --color-5: #111111;
  --color-primary: #3a75b0;
  --color-secondary: #f0cc71;
  --color-accent: #cc2200;
}

Text contrast on java.com

Every piece of text the study read on java.com passes WCAG AA, with half of it at 8.5:1 or better. On the average studied site 6% of the text fails. 43% of its text sits on a dark ground. Black or white text on a color explains the 4.5:1 and 3:1 lines.

How java.com writes its colors

Its CSS writes 561 color values: 84% hex codes, 9.4% in rgb() and 7% named colors. 3.2% of its color declarations read a CSS variable through var(), and it defines 37 variables that hold a color.

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. 3 style sheets of the page could not be fetched, so the colors in them are missing here.

Sites with a similar main color

Other blue sites whose main color is about as light as java.com's. All 490 are on the blue page, and colors that go with blue shows what they pair it with. java.com is also listed under Bootstrap sites.

Common questions

Is the main color of java.com blue?

Yes. Its main color is #3a75b0, a blue near the CSS color steelblue, as on 49% of the 1,000 sites the study read.

Does java.com use Tailwind CSS?

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

Is java.com a dark site?

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

Does the text on java.com 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 8.5:1 or better.

Can I see java.com in another palette?

Yes. Load java.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources