SecureUnderwriterBrand book

Colour

Monochrome first. One neutral ramp does almost all the work; violet is the single accent, and status colours appear only as a dot beside a word. Values are the product's, unchanged.

Neutral ramp

One physical scale. Do not use these directly: use the roles below, which pick different steps in light and dark.

--su-gray-100
#fafafa
--su-gray-200
#f0f0f1
--su-gray-300
#e6e6e8
--su-gray-400
#d4d4d8
--su-gray-500
#a1a1aa
--su-gray-600
#71717a
--su-gray-700
#52525b
--su-gray-800
#3f3f46
--su-gray-900
#27272a
--su-gray-950
#1d1d21
--su-gray-975
#17171a
--su-gray-1000
#131316

Roles

What components actually reference. Switch the theme above to see them change.

--su-color-bg
#ffffff · dark #131316
--su-color-surface
#fafafa · dark #27272a
--su-color-surface-subtle
#f0f0f1 · dark #3f3f46
--su-color-well
#f6f6f5 · dark #131316
--su-color-border
#e6e6e8 · dark #3f3f46
--su-color-border-strong
#d4d4d8 · dark #52525b
--su-color-fg
#131316 · dark #fafafa
--su-color-fg-muted
#6b6b74 · dark #acacb4
--su-color-fg-subtle
#a1a1aa · dark #71717a
--su-color-muted
#6b6b74 · dark #acacb4
--su-color-primary
#131316 · dark #fafafa
--su-color-primary-fg
#fafafa · dark #131316
--su-color-fg-on-fill
#ffffff
--su-color-scrim
#13131699

Accent

Links, focus, selection, active states. The only brand hue.

--su-color-accent-light
#6e56cf
--su-color-accent-dark
#9381db
--su-color-accent
#6e56cf · dark #9381db
--su-color-focus-ring
#8b74e0
--su-color-accent-hover
#6248c4
--su-color-accent-on-dark
#b3a4ee
--su-color-accent-tint
#f3f1fb · dark #1d1c26

Status

Each has a fill, an AA text ink (-fg) and an opaque 8% tint. Always pair with a word.

--su-color-success
#16a34a
--su-color-success-fg
#15803d · dark #4ade80
--su-color-warning
#d97706
--su-color-warning-fg
#b45309 · dark #fbbf24
--su-color-danger
#dc2626
--su-color-danger-fg
#b91c1c · dark #f87171
--su-color-elevated
#ea580c
--su-color-elevated-fg
#c2410c · dark #fb923c
--su-color-success-tint
#ecf8f1 · dark #131f1a
--su-color-warning-tint
#fcf4eb · dark #231b15
--su-color-elevated-tint
#fdf2ec · dark #241915
--su-color-danger-tint
#fceeee · dark #231517

Shell and band

The always-dark chrome. On the website it is the header, the hero, the closing panel and the footer.

--su-shell-bg
#17171a
--su-shell-bg-raised
#1d1d21
--su-shell-fg
#e9e9ec
--su-shell-fg-muted
#8f8f99
--su-shell-fg-subtle
#8a8a92
--su-shell-item-hover
#ffffff0b
--su-shell-item-active
#ffffff12
--su-mkt-band-rule
#e9e9ec1f

Provenance

Evidence tiers are told apart by ink strength and rule style, never hue.

--su-trust-verified-ink
#131316 · dark #fafafa
--su-trust-document-ink
#131316 · dark #fafafa
--su-trust-declared-ink
#6b6b74 · dark #acacb4
--su-trust-unknown-ink
#a1a1aa · dark #71717a
--su-trust-verified-rule
#131316 · dark #fafafa
--su-trust-document-rule
#d4d4d8 · dark #52525b
--su-trust-declared-rule
#e6e6e8 · dark #3f3f46
--su-trust-unknown-rule
#e6e6e8 · dark #3f3f46

Colour

A page should be black, white and grey with at most one touch of violet. If a layout needs colour to be understood, the layout is not finished.

Do

  • Build pages from the roles (bg, surface, well, border, fg, fg-muted), not from the raw ramp.
  • Use the primary ink for the one main action in a view; everything else is secondary or a text link.
  • Use violet only for links, focus and selection.
  • Light is the default ground, on screen and on paper. Use the dark band for emphasis: the home page opening and the closing panel, not every page.
  • Let pattern do what colour would: the solid, hatched, dotted and outlined tiers are the brand graphic.

Don't

  • Do not add a second brand colour, a gradient or a tinted background.
  • Do not use a status colour as decoration, or without a word beside it.
  • Do not set body text in fg-subtle: it is for placeholders and disabled states only.
  • Do not use violet as a fill for large areas or for a primary button.