Foundations
Color
One brand blue, two gray ramps and three status hues, never the only signal.
Rules
Hue says who acts next: blue is you, gray is someone else or nobody, green is done, amber and red are time risk.
Use
- Solid blue for actions.
- A blue tint and bar for selection and location.
- A status bar, glyph and label for feedback.
- One prominent banner per page, at most.
- Re-stepped true grays for dark.
Avoid
- Blue headers, sidebars and banners.
- A solid blue current page.
- Status colors by workflow name.
- Tinted alert boxes and colored rows.
- Inverted or blue-gray dark themes.
Brand blue
The brand color, #0759e6, is step 600. Every step keeps OKLCH hue 261.5°; lightness is set by contrast targets.
Steps by role
| Role | Light | Dark | Contrast target |
|---|---|---|---|
| Primary fill | 600, brand | 500 | White label 4.5:1; boundary 3:1 |
| Hover, pressed | 700, 800 | 600, 700 | Label contrast only rises |
| Link text | 700 | 300 | 7:1 on every surface, including selected rows |
| Link hover | 800 | 200 | Above the link |
| Selection bar, checked controls | 600 | 500 | Non-text 3:1 |
| Charts | Accent 600; scale 100 to 900 | Accent 500; scale reversed | Checked for ordinal and sequential use |
Two gray ramps
Every neutral is a true gray, with equal red, green and blue; the build rejects any that is not. Graphite is the dark-mode ramp.
Gray, for light surfaces
Graphite, for dark surfaces
Status hues
Red, green and amber have only the steps roles use: 300 for dark-mode text and icons, 600 for light-mode icons and solid fills, 700 for light-mode text, 800 for the pressed danger button.
Red: error and breach
Green: success and done
Amber: warning and risk
Light and dark
The same markup in both themes. Each preview sets only data-theme; tokens resolve per scope.
Theme values
| Role | Light | Dark |
|---|---|---|
| Canvas | Near-white, #fdfdfd | Graphite 950, #151515 |
| Sunken tray, below raised surfaces | Soft gray, #f3f3f3 | Graphite 975, #0e0e0e |
| Raised surface: panels, tables, chart frames | White, hairline, faint shadow | Graphite 900, #1c1c1c, hairline. Fields 875, #2c2c2c; menus and hover 850, #333333. |
| Primary text | #171717, 17.9:1 | #f2f2f2, 16.5:1 |
| Action fill | Blue 600, the brand | Blue 500 |
| Links and status text | Step 700, about 8.5:1 | Step 300, 7.5:1 or better on selected |
| Selected row | Gray 100 and a blue bar | Graphite 800, #383838, and a blue bar |
| Focus ring, 7:1 or better | #171717 | #f2f2f2 |
| Hover and pressed | Darker | Darker |
Every pair and its measured ratio is on the Accessibility page.
Color in charts
Each chart color does one of five jobs. The default is emphasis: one blue series against gray.
| Job | Encodes | Structure |
|---|---|---|
| Categorical | Which series | Eight slots in fixed order, never cycled. At most four per chart; beyond that, use "Other", facets or a table. |
| Ordinal | Order, such as funnel stages | One hue; lightness steps at least .06 apart; pale end 2:1 or better. |
| Sequential | Magnitude | One hue, seven steps, light to dark. Flipped in dark. |
| Diverging | Side of a baseline | Blue and orange around a neutral baseline. Never red. |
| Status | State | Feedback tokens, with a glyph and label. Only for series that mean a state. |
Categorical slots
Slot 1 is the brand blue (600 light, 500 dark). Palettes are checked for lightness band, chroma floor, color-blind separation, normal-vision floor, contrast and documented values only.
- Adjacent pairs (bars, stacks, lines): color-blind separation 9.1 light, 8.4 dark (target 8); normal-vision 19.6 and 19.3 (floor 15). Pass.
- All pairs (scatter, maps, small multiples): only the first three slots pass (9.2 light, 9.4 dark), so these charts take three series at most.
- Ordinal ramps (blue 400, 600, 700, 800, 900 light; 700, 500, 400, 300, 200 dark): monotone lightness, gaps at least .06, pale end 2.17:1 or better. Pass.
- Relief rule: aqua, yellow and magenta are under 3:1 on white, so every chart has a legend, selective direct labels, a table view and a texture fallback.