← All palettes

Five Stations

Charts

Categorical comparisons where the categories have no natural order.

Click a swatch to copy its hex.

Do not use this for

Sequential data — the hue jumps imply differences that are not there.

What was measured

Closest neighbours
ΔE00 32
how alike two adjacent swatches look
Darkest to lightest
7.29:1
WCAG contrast across the set
Lightness covered
48 pts
of OKLCH lightness, 0–100
Under colour blindness
ΔE00 22
worst under deuteranopia

Every pair here survives protanopia, deuteranopia and tritanopia, so these five can stand for five different things.

A suggested mapping · derived, then measured

Five colours are not an interface, so this is an offer rather than a token set. It does not clear WCAG AA on secondary text and the accent — stated here rather than left for you to discover.

/* Five Stations — Categorical comparisons where the categories have no natural order. */
:root {
  --palette-1: #1b1c97;
  --palette-2: #ab4046;
  --palette-3: #5c79f6;
  --palette-4: #45d7ff;
  --palette-5: #dec50b;

  /* A suggested mapping, not a token set. It falls short of WCAG AA on secondary text and the accent — fix that before shipping. */
  --bg: #dec50b;
  --text: #1b1c97;        /* 7.29:1 on --bg */
  --muted: #ab4046;      /* 3.4:1 on --bg */
  --accent: #5c79f6;     /* 2.19:1 on --bg */
  --accent-text: #111111;
}

Tailwind

// tailwind.config — Five Stations
export default {
  theme: {
    extend: {
      colors: {
        fivestations: {
        100: "#1b1c97",
        200: "#ab4046",
        300: "#5c79f6",
        400: "#45d7ff",
        500: "#dec50b",
        },
      },
    },
  },
};

For your coding agent · printed from the colours

Use the Five Stations palette: #1B1C97, #AB4046, #5C79F6, #45D7FF, #DEC50B.

It is for this: Categorical comparisons where the categories have no natural order.

Map it as ground #DEC50B, body text #1B1C97, secondary text #AB4046, and one accent #5C79F6 with #111111 printed on it. That mapping does not clear WCAG AA on secondary text and the accent — body 7.29:1, secondary 3.4:1, accent 2.19:1. Fix the named role against the ground before shipping; do not ship the pair as given.

Do not use it for: Sequential data — the hue jumps imply differences that are not there.

Do not add a sixth colour, do not tint the greys toward a second hue, and do not carry meaning on hue alone — once colour vision is taken away the closest two of these sit only 22 apart on the CIEDE2000 scale, so pair every coloured state with a label or an icon.

How this palette was built · no hex was chosen by hand

The catalog states a recipe — series from hue 20 — and the five colours are derived from it in OKLCH, where a step of lightness is a step your eye agrees with rather than one the hex numbers agree with. That is why the numbers above are properties of this palette rather than claims about it.

Others for the same job