Triage design system v0.13.1-experiment
Home / Foundations / Data visualisation

Data visualisation

The categorical series palette, its contrast record, and the rules that keep charts accessible.

Categorical series — apply in order

light chip + dark chip; ≥3:1 against surfaces; CVD separation checked (Machado deutan/protan)
--dv-1
#0072B2
Categorical series 1 (blue) — apply in order
--dv-2
#D55E00
Categorical series 2 (vermillion) — apply in order
--dv-3
#009E73
Categorical series 3 (green) — apply in order
--dv-4
#2E86AB
Categorical series 4 (sky) — apply in order
--dv-5
#8C564B
Categorical series 5 (brown) — apply in order
--dv-6
#B0308A
Categorical series 6 (magenta) — apply in order
--dv-7
#4338CA
Categorical series 7 (indigo) — apply in order
--dv-8
#9A3412
Categorical series 8 (rust) — apply in order

Graphical-object contrast

3:1 is the WCAG 1.4.11 threshold for graphical objects
Tokenon whiteon dark card
--dv-15.19:13.49:1
--dv-23.87:14.68:1
--dv-33.42:15.29:1
--dv-44.11:14.41:1
--dv-55.92:13.06:1
--dv-65.78:13.13:1
--dv-77.90:12.29:1
--dv-87.31:12.48:1

Rules

  • Sequence matters: use series 1→8 in order; the set is Okabe–Ito derived, contrast-adjusted, and checked for deuteranopia/protanopia separation (min pairwise distance 14/100 under Machado simulation).
  • Never use status colours as series colours — a red line must not read as "error". Status stays in --status-*.
  • Do not rely on colour alone: label lines directly, vary dash patterns, or annotate; charts must survive greyscale and colour-blindness.
  • Small multiples and sparklines can use a single accent; reserve the categorical sequence for series that share a chart.
  • Dark mode: the dark series values are lighter, not inverted (see /foundations/platform).
Research basis: Okabe–Ito colour-universal palette (CVD-safe sequence), IBM Carbon data-viz palettes (curated categorical sequence, monochromatic ramps for ordered data) and Atlassian's chart tokens; all three stress contrast + distinction over decoration.
Not yet shipped: sequential / diverging ramps. Ordered data (heatmaps, scales) needs a monochromatic ramp rather than the categorical set. Series 1's hue is the natural base; the next token addition should define 5–7 steps with contrast-checked ends.
Triage Design System v0.13.1-experiment — the central, app-agnostic UI design authority. Source of truth: /tokens/tokens.json. Showcase chrome only: site/.