---
version: alpha
name: Muhimbili National Hospital
description: "Dark interface measured from mnh.or.tz: Manrope type, vivid blue accents, flat surfaces and pill-shaped controls."
colors:
  background: "#1F2B6C"
  surface: "#1F2B6C"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#DEDFE9"
  on-surface-muted: "#757575"
  on-surface-subtle: "#6C757D"
  overlay: "#FFFFFF59"
  overlay-strong: "#FFFFFF14"
  outline: "#FFFFFF24"
  outline-variant: "#BF1E2D"
  primary: "#159EEC"
  on-primary: "#000000"
  secondary: "#FF9800"
  tertiary: "#E53E3E"
  error: "#F44336"
typography:
  headline-display:
    fontFamily: Manrope
    fontSize: 40px
    fontWeight: 700
    lineHeight: 1.2
    letterSpacing: -0.02em
  headline-lg:
    fontFamily: Manrope
    fontSize: 34px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.02em
  headline-md:
    fontFamily: Manrope
    fontSize: 24px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: 0.01em
  headline-sm:
    fontFamily: Manrope
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.02em
  body-md:
    fontFamily: Manrope
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.6
    letterSpacing: 0.01em
  body-lg:
    fontFamily: Manrope
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.45
    letterSpacing: 0.01em
  label-lg:
    fontFamily: Manrope
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.72
  label-md:
    fontFamily: Manrope
    fontSize: 13px
    fontWeight: 600
    lineHeight: 1.6
    letterSpacing: 0.03em
  label-sm:
    fontFamily: Manrope
    fontSize: 12.5px
    fontWeight: 700
    lineHeight: 1.6
    letterSpacing: 0.07em
rounded:
  sm: 3px
  md: 8px
  lg: 12px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
  gutter: 8.8px
  section: 48px
  margin: 48px
components:
  button-outline:
    backgroundColor: "{colors.background}"
    textColor: "{colors.on-surface}"
    typography: "{typography.headline-sm}"
    rounded: "{rounded.md}"
    padding: 12px 24px
    height: 62px
  button-secondary:
    backgroundColor: "{colors.on-surface}"
    textColor: "{colors.background}"
    typography: "{typography.headline-sm}"
    padding: 0px
    height: 48px
  button-tertiary:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.sm}"
    padding: 4px 16px
    height: 36px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.sm}"
    padding: 4px 16px
  card:
    backgroundColor: "{colors.on-surface}"
    textColor: "#202020"
    typography: "{typography.body-md}"
    rounded: 16px
    padding: 0px
  link:
    textColor: "#FFFFFFE6"
---

# Muhimbili National Hospital Design System

## Overview

Muhimbili National Hospital describes itself as: “Muhimbili National Hospital Website” The interface is dark, built on **Dark Indigo (#1F2B6C)** with **White (#FFFFFF)** text, and **Vivid Blue (#159EEC)** as the main accent.

Type is set in **Manrope**. Headlines run large with tight negative tracking; body text is 14px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [mnh.or.tz](https://www.mnh.or.tz/) on November 26, 2026 at 1440×900 and 390×844 from 355 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 14 roles, plus gradient stops #BF1E2D, #9F1E2A, #141C4AF0, #1F2B6CE6.

- **Dark Indigo (#1F2B6C):** Page background, seen 2 times. Token `background`, CSS `--q-primary`.
- **White (#FFFFFF):** Primary text and headings, seen 17 times. Token `on-surface`, CSS `--swal2-cancel-button-color`.
- **Cool Mist (#DEDFE9):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Slate (#757575):** Muted text and metadata, seen 3 times. Token `on-surface-muted`.
- **Cool Slate (#6C757D):** Subtle text and placeholders, seen 16 times. Token `on-surface-subtle`.
- **White 35% (#FFFFFF59):** Translucent fill for cards and controls, seen 6 times. Token `overlay`.
- **White 8% (#FFFFFF14):** Stronger translucent fill, seen 5 times. Token `overlay-strong`.
- **White 14% (#FFFFFF24):** Borders and dividers, seen 5 times. Token `outline`.
- **Red (#BF1E2D):** Secondary dividers, seen 2 times. Token `outline-variant`, CSS `--q-secondary`.
- **Vivid Blue (#159EEC):** Brand accent (CSS variable). Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#FF9800):** Accent in text, fills and borders, seen 4 times. Token `secondary`.
- **Red (#E53E3E):** Accent in text, fills and borders, seen 4 times. Token `tertiary`.
- **Vivid Red (#F44336):** Errors and destructive states, seen 5 times. Token `error`.

## Typography

**Manrope** carries the whole interface. Fallback stack: `Manrope, Roboto, sans-serif`. Other loaded fonts: Font Awesome 6 Brands, Font Awesome 6 Free, Roboto, Material Icons.

- **headline-display:** Manrope 40px at weight 700, line height 1.2, tracking -0.02em. Page title (h1).
- **headline-lg:** Manrope 34px at weight 700, line height 1.25, tracking -0.02em. Section headings (h2).
- **headline-md:** Manrope 24px at weight 700, line height 1.25, tracking 0.01em. Sub-section headings.
- **headline-sm:** Manrope 20px at weight 700, line height 1.25, tracking -0.02em. Card and feature titles.
- **body-md:** Manrope 14px at weight 400, line height 1.6, tracking 0.01em. Body text.
- **body-lg:** Manrope 15px at weight 400, line height 1.45, tracking 0.01em. Lead paragraphs.
- **label-lg:** Manrope 14px at weight 500, line height 1.72. Large buttons and tabs.
- **label-md:** Manrope 13px at weight 600, line height 1.6, tracking 0.03em. Buttons, navigation and labels.
- **label-sm:** Manrope 12.5px at weight 700, line height 1.6, tracking 0.07em, uppercase. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (77% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 16px, lg 24px, xl 48px.
- **Sections:** 48px vertical padding between major sections.
- **Gaps:** 8.8px is the most common gap in flex and grid layouts.
- **Page margin:** 48px on each side of full-width sections.
- **Breakpoints:** 599px, 599.98px, 600px, 700px, 1023.98px, 1024px, 1439.98px, 1440px, 1919.98px, 1920px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(31, 43, 108, 0.1) 0px 4px 15px 0px`
- `rgba(0, 0, 0, 0.1) 0px 4px 14px 0px`
- `rgba(0, 0, 0, 0.12) 0px 1px 4px 0px`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **lg (12px):** 248 elements.
- **full (9999px):** 152 elements.
- **sm (3px):** 128 elements.
- **md (8px):** 52 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-outline (“DISCOVER OUR MISSION”):** #1F2B6C fill, #FFFFFF text, 20px/600, 8px radius, padding 12px 24px.
- **button-secondary (“chevron_left”):** #FFFFFF fill, #1F2B6C text, 20px/500, 50% radius, padding 0px, shadow `rgba(0, 0, 0, 0.2) 0px 4px 16px 0px`.
- **button-tertiary (“Appointments”):** transparent fill, #FFFFFF text, 14px/500, 3px radius, padding 4px 16px.
- **button-ghost (“Appointments”):** transparent fill, #FFFFFF text, 14px/500, 3px radius, padding 4px 16px.
- **card:** #FFFFFF fill, #202020 text, 14px/400, 16px radius, padding 0px, border 1px solid #F0F0F0, shadow `rgba(0, 0, 0, 0.08) 0px 8px 25px 0px`.
- **link:** transparent fill, #FFFFFFE6 text, padding 0px.

## Do's and Don'ts

- Do use #1F2B6C for the page.
- Do keep text in 4 levels: #FFFFFF, #DEDFE9, #757575, #6C757D.
- Do use #159EEC as the brand accent: header, logo and key highlights.
- Do set headlines in Manrope with tight tracking (-0.02em).
- Do reuse the measured spacing steps (8px, 16px, 24px).
- Do make buttons and chips fully rounded (9999px); most other elements use 12px corners.
- Don't use #757575 for body text; it reaches 2.81:1 on #1F2B6C. Keep it for large text or metadata.
- Don't use #6C757D for body text; it reaches 2.76:1 on #1F2B6C. Keep it for large text or metadata.
- Don't introduce new font families beyond Manrope.
- Don't use #159EEC for large backgrounds or body text.
- Don't make interface transitions slower than 0.6s.

## Motion

Interface transitions are quick: 0.3s, 0.2s, 0.25s, 0.6s. Longer ambient animations run 0.8s, 2s, 1.5s.

- **Easing:** `ease`, `cubic-bezier(0.25, 0.46, 0.45, 0.94)`, `ease-out`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/mnh.or.tz/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
