What's different about dashboards
Dashboards are used repeatedly, for extended sessions, in the middle of decisions. That changes the requirements:
- Restraint matters more. Bright colors that look great on a landing page become exhausting at hour two of a dashboard session.
- Data contrast matters. Chart colors must remain distinguishable at small sizes and against the chart background.
- Dark mode is the default. Many technical users run dashboards in dark mode most of the time.
- Color meaning is enforced. Red really does mean "bad" — using it decoratively is actively wrong.
Layer 1: The neutral foundation
Dashboards are 80% neutral. A well-designed neutral scale is your most important asset:
- Page background:
#F9FAFB(light) or#0D0D0D(dark) - Card background:
#FFFFFF(light) or#1A1A1A(dark) - Elevated surface:
#F3F4F6(light) or#262626(dark) - Borders:
#E5E7EB(light) or#333333(dark) - Primary text:
#111827(light) or#F5F5F5(dark) - Secondary text:
#6B7280(light) or#B8B8B8(dark)
If your dashboard has more than one brand color competing with the data, you've already lost. The neutrals do the structural work; the brand color is used for a single accent (like primary actions), not for the data itself.
Layer 2: The semantic states
Dashboards live and die by semantic colors. These are non-negotiable and must be consistent across the entire product:
| State | Color | Usage |
|---|---|---|
| Success | Green (#16A34A) | Positive deltas, completed states, healthy metrics |
| Warning | Amber (#D97706) | Attention needed, degraded but working |
| Error | Red (#DC2626) | Failures, negative deltas, alert states |
| Info | Blue (#2563EB) | Neutral context, informational notes |
| Neutral | Gray (#6B7280) | No change, inactive, disabled |
These colors must be distinguishable for users with color vision deficiency. Red and green are famously confusable — always pair them with icons, arrows or text labels. A green up-arrow and a red down-arrow communicate meaning even when the colors look identical.
Layer 3: The data-viz palette
Chart colors are their own system. They must satisfy a different set of constraints than UI colors:
- Distinguishable at small sizes — bar charts, line charts and pie slices have very different visibility requirements.
- Sequential or categorical — sequential palettes go from light to dark for a single variable; categorical palettes use distinct hues for multiple series.
- Color-blind safe — tested against protanopia, deuteranopia and tritanopia.
- Accessible against the chart background — 3:1 against the surface is the practical minimum.
Sequential palette
For continuous data (heatmaps, single-variable gradients), use a sequential palette with a consistent hue:
#003F5C → #2F4B7C → #665191 → #A05195 → #D45087 → #F95D6A → #FF7C43 → #FFA600
Each step is at least 10% different in lightness from the previous step. This ensures the palette is legible even in grayscale.
Categorical palette
For distinct series (categories, segments), use a categorical palette that maximizes hue distinction and lightness variation:
#003F5C → #2F4B7C → #665191 → #A05195 → #D45087 → #F95D6A → #FF7C43 → #FFA600
The exact colors don't matter as much as the properties: distinct hue + distinct lightness + tested for color blindness. The above is a well-tested set that works for most dashboard contexts.
Layer 4: State and interaction
Interactive elements (filters, buttons, chart hovers, selected rows) use the same semantic system:
- Primary action — the brand color at 500 lightness.
- Hover — 600 lightness.
- Active — 700 lightness.
- Focus — 3:1 contrast outline, usually the brand color at 400 lightness.
- Selected — brand color tint at 100 lightness for the background, 600 for the border.
Dark mode is mandatory
Most dashboards are used by technical users, and most technical users prefer dark mode. Design it first, or at minimum design it as its own theme, not as an inverted light theme.
Specific dark mode rules for dashboards:
- Don't use pure black —
#0D0D0Dis the practical minimum. - Desaturate chart colors — saturated colors vibrate against dark backgrounds.
- Increase contrast for semantic colors — green and red need to be brighter in dark mode to stand out.
- Use lightness for elevation — cards on page backgrounds should be lighter, not darker.
Chart color rules
- Never use more than 8 colors in a chart. Beyond 8, they become indistinguishable and the chart becomes unreadable.
- Always include a legend — color alone is not enough (WCAG 1.4.1).
- Direct labeling is better than a legend — if you can label the line directly, do so.
- Reserve semantic colors — don't use green or red for arbitrary data series unless the data is actually positive/negative.
- Test in grayscale — a chart that doesn't work in grayscale doesn't work for color-blind users.
Test everything
- Contrast ratios for every text and UI element. Use our Contrast Checker.
- Chart colors under color vision deficiency. Use our Color Blindness Simulator.
- Grayscale rendering — screenshot the dashboard and convert it to grayscale. If you can still read it, you've got a good chart palette.
- Long session fatigue — literally use your dashboard for an hour. Colors that seem fine in a screenshot often become exhausting in real use.