Design System

Colour

The complete token inventory — semantic tokens, never raw hex. Every pairing passes WCAG 2.2 AA in both light and dark; flip the theme toggle and watch the semantic groups follow.

Each swatch shows the token's shipped hex — the light value first, then the dark value where the token changes with the theme. Copy it when you need the colour outside the token pipeline (a Figma mock, a slide, an email); in product code, always use the token, never the raw hex.

Brand

The source-of-truth HMS palette. These do not flip in dark mode; the *-text variants do, staying AA on the current surface.

--brand-primary#127289

Deep teal

--brand-cyan#059bb6

Marketing cyan

--brand-stream#22bfd3

AI / Stream

--brand-coral#f15e60

Accent — the heartbeat (decorative)

--brand-navy#0f323d

AI / dark surface

--brand-cream-100#fcfcf7

Off-white

--brand-cream-200#e6dfcf

Cream

--brand-cream-300#e0e1da

Cool cream

Aa
--brand-cyan-text#066a7d · dark #4fd0e6

AA cyan text

Aa
--brand-stream-text#0e7d91 · dark #5cd6e8

AA stream text

Aa
--brand-coral-text#c2362f · dark #ff8d8e

AA coral text

Semantic

The shadcn token contract — every component styles itself from these.

Aa
--background#ffffff · dark #08171c
--foreground#181c32 · dark #eef4f5
--canvas#f4f3ec · dark #061114

App canvas behind cards

Aa
--card#ffffff · dark #0f323d
--card-foreground#181c32 · dark #eef4f5
Aa
--popover#ffffff · dark #143b47
--popover-foreground#181c32 · dark #eef4f5
Aa
--primary#22bfd3
--primary-foreground#06232b · dark #06222b
Aa
--primary-hover#1aa7b9 · dark #5fd4e3
--primary-foreground#06232b · dark #06222b

Filled-button hover

Aa
--primary-strong#127289 · dark #22bfd3

AA teal text / links

Aa
--secondary#f1f1f2 · dark #16323b
--secondary-foreground#3f4254 · dark #e1e7e8
Aa
--muted#f7f7f4 · dark #112a32
--muted-foreground#5e6278 · dark #9fb6bc
Aa
--accent#eff4f7 · dark #16404d
--accent-foreground#0f323d · dark #d6f3f9
Aa
--destructive#c5221a · dark #f87171
--destructive-foreground#ffffff · dark #2a0705
Aa
--destructive-subtle#fdecea · dark #3a1210
--destructive-text#c5221a · dark #ff9d9d
--decorative-red#ff6b6b

Decorative only — never text

--border#e1e3ea · dark #1f4a57
--input#e1e3ea · dark #244e5b
--ring#22bfd3

Focus ring

Status

Four tones, each a quartet: fill + foreground, and subtle wash + AA text.

Aa
--success#50cd89
--success-foreground#04341d
Aa
--success-subtle#e8fff3 · dark #0f2e22
--success-text#146c43 · dark #6fe3a6
Aa
--warning#f6c000
--warning-foreground#181c32
Aa
--warning-subtle#fff8dd · dark #2e2705
--warning-text#8a6400 · dark #f3cf4d
Aa
--info#7239ea · dark #9a6bff
--info-foreground#ffffff · dark #160a2e
Aa
--info-subtle#f8f5ff · dark #1e1633
--info-text#5e29c9 · dark #c3a6ff
Aa
--accent-blue#3e97ff
--accent-blue-foreground#04203f
Aa
--accent-blue-subtle#eef6ff · dark #0e2034
--accent-blue-text#1b6fd4 · dark #7cbaff

Chart

Brand-led categorical ramp for data visualisation, in series order.

--chart-1#127289 · dark #2bb8cf
--chart-2#22bfd3
--chart-3#059bb6 · dark #5cd6e8
--chart-4#f15e60 · dark #ff7a7c
--chart-5#f4a261

The branded dark-teal navigation has its own token set — it stays dark in both themes.

Aa
--sidebar#0f323d
--sidebar-foreground#d8e0e2
Aa
--sidebar-primary#22bfd3
--sidebar-primary-foreground#06222b
Aa
--sidebar-accent#16404d
--sidebar-accent-foreground#ffffff
--sidebar-border#1c4d5b
--sidebar-ring#22bfd3

Gradients live on the Brand page. The same inventory with live hex values is in Storybook → Design Tokens.

On this page