Integrated ResearchPicasso
Foundations

Colour

Three semantic families, one utility word each. Never a raw value.

Never a raw value

// ✗ never
className="bg-[#007FAB] text-[#121926]"
className="bg-blue-600"                      // no Tailwind palette colours
className="bg-[var(--bg-primary-emphasis)]"  // the escape hatch is not needed

// ✓ always
className="bg-surface-primary-emphasis text-content-neutral-emphasis"

Never use a palette/* value in a component. Palette exists to feed semantics; semantics are what components consume.

Three families, three words

Tailwind v4's --color-* namespace feeds bg-, text- and border- from one pool, so the three token families would collide on a shared name. Each gets a word that reads correctly with its own prefix:

Token familyUtility wordExample
bg/* (69)surfacehover:bg-surface-danger-subtle-hovered
fg/* (31)contenttext-content-on-primary-emphasis
border/* (21)lineborder-line-input-invalid
status/* (5)statustext-status-critical
chart/1–6chartfill-chart-3

Every semantic has a utility. If you reach for bg-[var(...)], the bridge is missing an entry — add it to packages/tokens/theme.css rather than escaping.

The chart series palette

chart/1–6 is a series palette, not a brand palette. They are different jobs: a brand palette is chosen so the colours belong together, a series palette so they can be told apart. IR's brand colours do not automatically do the second.

Six slots, in fixed order — brand blue, IR red, indigo, IR purple, amber, pink. The order is fixed and never cycled. A seventh series is not a generated hue: fold the tail into one "Other", or use small multiples.

Three colours are deliberately not series slots, and all three are still colours you can use elsewhere:

ColourWhy not a series
IR corporate blue7° from brand blue on the hue wheel — the same colour to anyone reading a chart
IR lime20° from lime, and at L 0.85 it is outside the usable band in both modes; it has no in-range step
tealcannot clear blue in both light and dark at once

The steps come from palette/vis/*, which is referenced by chart/* and nothing else — so those ramps are tuned to pass the categorical checks rather than to match a brand swatch exactly. The whole set is validated in both modes against every pair, not just adjacent ones.

Two residual warnings, both deliberate and both covered by the chart components:

  • Amber and IR red separate by only ΔE ~7 under protanopia and deuteranopia. That is inside the floor band, which is legal only with a second channel. The chart components always draw a legend from two series up, always carry a data table, and name every series in the tooltip. If you build a chart that does none of those and uses both slots, direct-label the lines.
  • IR purple and pink fall below 3:1 against the dark card (2.38 and 2.82). Same cover: a visible legend and a table. They clear 3:1 on the app surface.

The chart scale

chart/1–6 carry identity. chart/scale/1–5 carry magnitude, and the two never mix: the categorical slots are chosen to be maximally unlike each other, which is the opposite of what an ordered scale needs.

One hue, five bands, from IR corporate blue. That hue was free: it had been a series slot until the re-step found it 7° from brand blue — the same colour to anyone reading a chart — so it carries no categorical job, it is the same in every brand, and it is not a status colour.

LightDark
chart/scale/1ir-corporateblue/200ir-corporateblue/950
chart/scale/2/400/700
chart/scale/3/600/500
chart/scale/4/800/300
chart/scale/5/950/50

Light runs light to dark; dark runs dark to light. Nothing can sit below the surface it is drawn on, so in dark mode the quiet end has to be the dark end. A scale flipped from the light one would put the loudest cells nearest the background and the calmest ones shouting.

The bands were picked by measuring, not by eye: the most even lightness spread the ramp allows, subject to the quietest band staying separable from the card behind it. Light lands on min adjacent ΔE 14.0 with the lowest band ΔE 13.1 from white; dark on min adjacent ΔE 17.7 with the lowest band ΔE 10.5 from the card.

Five bands, not a gradient. Nobody reads a colour back to a number off a smooth ramp; they read it to a band and look that band up. Banding makes the legend honest and makes two cells of the same severity the same colour.

Only Heatmap uses this today, and it is the one chart that colours by value — a cell has no length or height to encode with, so colour is the only channel it has. Anywhere a mark has a length, the length carries the magnitude and colour goes back to carrying identity.

How a token is named

bg / danger / subtle / hovered
│    │        │        └── state: hovered · pressed · (none = resting)
│    │        └── prominence: emphasis · subtle · muted
│    └── intent: primary · neutral · danger · success · warning · info
└── family

fg/on/<surface> is the foreground guaranteed to pass contrast on that surface — text-content-on-primary-emphasis sits on bg-surface-primary-emphasis.

The neutral ramp runs subtle → muted → emphasis

Prominence is contrast: subtle is the quietest fill, muted is one palette step stronger, emphasis is the solid. bg/neutral has the same shape as bg/primary, bg/danger and the other status ramps (50 → 100 → 600 there; 50 → 100 → 800 here), and hover and pressed are one and two steps further on.

Lightresthoverpressed
bg/neutral/subtle50100200
bg/neutral/muted100200300
bg/neutral/emphasis800900950
bg/sidebar100200300
Darkresthoverpressed
bg/neutral/subtle800700600
bg/neutral/muted700600500
bg/neutral/emphasis10050white
bg/sidebar950900800

Until 2 Oct 2026 light muted was white and dark ran 950 then 900 — muted was lighter than subtle in light, and in dark the order ran away from contrast.

What each step is seen on. The page is neutral-50 in light and 900 in dark; a card is white and 800.

on the pageon a card
subtle, lightmatches it (1.00)faint (1.05)
subtle, darkshows (1.21)matches it (1.00)
mutedshows in both themesshows in both themes
every hover and pressedshowsshows

So subtle matches one surface in each theme and shows on the other; muted is the first step that is seen everywhere. Before the change nine hover and pressed states were invisible on one surface in dark (a ghost button's hover on a card, a menu item's focus and a table row's hover on the page); none are now.

A resting fill that has to be seen takes muted. Secondary Button, the subtle neutral Badge, Avatar's fallback, Kbd, the active Tab, a read-only Input or Textarea, the Table header, Select's count, File upload's icon tile and the Stepper's current number all rest on bg/neutral/muted, so they show on the page and on a card in both themes (1.08 / 1.12 in light, 1.71 / 1.42 in dark). Secondary Button hovers and presses along the muted ladder. Two things follow and are accepted: an active Tab is the same fill as a hovered one, and a Table header is the same fill as a hovered row — text weight and position tell them apart. The Stepper's incomplete number stays on subtle: its text is fg/neutral/subtle, which on the muted fill falls to 2.2:1 in dark.

subtle is left for hover (subtle-hovered, -pressed) on things that are transparent or card-coloured at rest.

A fill that should match the card takes bg/card, not a neutral step. The outline Button, a selected Chip, the outline Badge, the Avatar add button and the Stepper's empty indicator all rest on bg/card and hover through bg/neutral/subtle-hovered and -pressed. Light is pixel-identical to before.

Anything on the sidebar takes bg/sidebar-hovered and bg/sidebar-pressed, never the neutral pair. The rail is neutral-100 in light, which is what bg/neutral/subtle-hovered and bg/neutral/muted resolve to — a hover that equals its surface cannot render.

Tracks and skeletons take bg/layer/*

bg/layer/* is a translucent tint of the ink colour (white in dark), so it runs in contrast order and reads the same on the page, on a card and on a tinted panel. It is for neutral fills that are part of a picture rather than a control: tracks, empty segments, skeletons, wells.

Contrast with what is behind itsubtlemutedemphasis
Light1.081.171.34
Dark1.14–1.171.33–1.381.75–1.80

Thin things take emphasis (Progress, Slider and File upload tracks, Meter's empty segments); large areas take muted (Skeleton).

Never use a state token for a resting fill. -hovered and -pressed describe an action. If a pressed token is the only one that shows, the element wants bg/neutral/muted or bg/layer/*.

Dark mode is free

Semantics alias primitives, and dark mode overrides semantics while the theme axes override primitives. That asymmetry is what lets five axes and two modes compose by cascade instead of being authored as ten sets. A component that uses semantic utilities gets dark mode without a single dark: class.

Brands

Picasso is multi-brand: a brand supplies its own brand and accent ramps and inherits everything else.

A surface does not have to carry white

fg/on/* is measured, never chosen. For every bg/<intent>/emphasis, the build asks which ink reaches 4.5:1 on it and writes that one: white where white carries, palette/neutral/950 where it does not.

Surfacefg/on/*-emphasis becomesAt
#007FABwhite4.54:1
#F59E0Bneutral-9509:1
#A3E635neutral-95012.82:1
#FFD60Aneutral-95013.69:1

So a brand colour is never rejected for being light. It gets dark ink, and the button is still a button. This is the one semantic that may differ per brand — everything else aliases a primitive, so re-pointing --palette-brand-600 carries the whole system with it. If a brand seems to need some other semantic overridden, the ramp is wrong.

A generated ramp rarely needs the flip at the steps a button is painted with: lightness comes from a fixed ladder, so 600–950 land dark enough to hold white whatever the hue, and the base colour contributes hue and chroma. The flip is what carries a pinned ramp — eleven stops supplied by Marketing, where any value is possible — the lighter steps, and status colours like amber.

The one real failure is a surface that neither ink reaches: white below 4.5:1 and neutral-950 below 4.5:1. That colour has to move, and npm test says so.

npm test measures every on-colour pair against its own surface, in both modes, for every brand — so a ramp that drifts a step lighter fails the build rather than an audit.

See AGENTS.md → Adding a brand.

⚠️ Unresolved: the brand ramp

All eleven brand stops disagree between Figma and the repo, and the repo is probably right — IR's own note records brand.600 as #007FAB, the repo's value. Until Marketing settles it, treat published brand hexes as provisional. Everything else in this page is stable.

On this page