# NumPy design system

> NumPy design system measured from numpy.org: #013243 primary, 9 color hex codes, type scale, spacing and a free DESIGN.md. Light theme with 4px corners.

Canonical page: https://sitepeel.dev/design-md/numpy.org/

NumPy’s website (numpy.org) uses the visitor’s system fonts and #013243 as its main color on a white background. Measured by Sitepeel on November 29, 2026.

## What font does NumPy use?

NumPy uses the visitor’s system fonts on numpy.org: no web font was measured. Measured on November 29, 2026.

- system-ui (weights 400, 600, 700)

## NumPy colors: palette and hex codes

NumPy’s main colors are #FFFFFF (white) for the background, #222832 (cool graphite) for text and #013243 (deep cyan) as the main accent, with #0A7D91 (dark cyan) and #086B7C (dark cyan) as other accents. Measured on November 29, 2026.

- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #222832: cool graphite (rgb(34, 40, 50), hsl(218, 19%, 16%))
- #75715E: amber (rgb(117, 113, 94), hsl(50, 11%, 41%))
- #EFEFEF: mist (rgb(239, 239, 239), hsl(0, 0%, 94%))
- #D1D5DA: cool silver (rgb(209, 213, 218), hsl(213, 11%, 84%))
- #013243: deep cyan (rgb(1, 50, 67), hsl(195, 97%, 13%))
- #0A7D91: dark cyan (rgb(10, 125, 145), hsl(189, 87%, 30%))
- #086B7C: dark cyan (rgb(8, 107, 124), hsl(189, 88%, 26%))

## What is NumPy built with?

NumPy’s website (numpy.org) is built with Hugo, jQuery, Svelte, Cloudflare and Fastly. Measured on November 29, 2026.

- Site builder & CMS: Hugo 0.158.0
- JavaScript framework: jQuery 3.7.1, Svelte 4
- Fonts & icons: Font Awesome 7.0.1
- Analytics: Plausible, Cloudflare Web Analytics
- Hosting & CDN: Cloudflare, Fastly, GitHub Pages

## Questions and answers

### What font does NumPy use?

No web font was measured on numpy.org: it uses the visitor’s system fonts.

### What are the NumPy colors and hex codes?

On numpy.org: #FFFFFF (white) for the background, #222832 (cool graphite) for text and #013243 (deep cyan) as the main accent, with #0A7D91 (dark cyan) and #086B7C (dark cyan) as other accents. The color palette above lists all 9 colors with their hex codes and where each one is used.

### What is the NumPy design system?

The design system on this page is numpy.org’s, as measured on November 29, 2026: #013243 as the main color and 4px corners, written down as a DESIGN.md. It is not NumPy’s own documentation.

### What is NumPy built with?

NumPy’s website (numpy.org) is built with Hugo, jQuery, Svelte, Cloudflare and Fastly. The full tech stack Sitepeel found: Hugo, jQuery, Svelte, Font Awesome, Plausible, Cloudflare, Fastly, Cloudflare Web Analytics and GitHub Pages. Measured on November 29, 2026.

### What is the NumPy DESIGN.md?

A plain-text file with NumPy’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this NumPy’s official design system?

No. Sitepeel measured it from numpy.org’s public page on November 29, 2026. It is an independent analysis, not made or approved by NumPy.

### Can I use NumPy’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy NumPy’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/numpy.org/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with NumPy.

## The DESIGN.md file

```markdown
---
version: alpha
name: NumPy
description: "Light interface measured from numpy.org: system-ui type, deep cyan accents, tonal surfaces and 4px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#222832"
  on-background: "#222832"
  on-surface-variant: "#75715E"
  surface-container-low: "#EFEFEF"
  outline: "#D1D5DA"
  primary: "#013243"
  on-primary: "#FFFFFF"
  secondary: "#0A7D91"
  tertiary: "#086B7C"
typography:
  display-hero:
    fontFamily: system-ui
    fontSize: 37px
    fontWeight: 400
    lineHeight: 1.65
  headline-display:
    fontFamily: system-ui
    fontSize: 27px
    fontWeight: 600
    lineHeight: 1.15
    letterSpacing: 0.056em
  body-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.65
  body-sm:
    fontFamily: system-ui
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.3
  label-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 700
    lineHeight: 1.65
  label-sm:
    fontFamily: system-ui
    fontSize: 13px
    fontWeight: 700
    lineHeight: 1.3
rounded:
  sm: 4px
  md: 20px
  lg: 25px
spacing:
  xs: 2.56px
  sm: 5.12px
  md: 16px
  lg: 30px
  xl: 40px
  gutter: 30px
  margin: 16px
  container: 1408px
components:
  card:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.sm}"
    padding: 0px
  link:
    textColor: "{colors.secondary}"
---

# NumPy Design System

## Overview

NumPy describes itself as: “Why NumPy? Powerful n-dimensional arrays. Numerical computing tools. Interoperable. Performant. Open source.” The interface is light, built on **White (#FFFFFF)** with **Cool Graphite (#222832)** text, and **Deep Cyan (#013243)** as the main accent.

Type is set in **system-ui**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 4px.

Measured from [numpy.org](https://numpy.org/) on November 29, 2026 at 1440×900 and 390×844 from 294 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 9 roles.

- **White (#FFFFFF):** Page background, seen 7 times. Token `background`, CSS `--pst-color-on-background`.
- **Cool Graphite (#222832):** Primary text and headings, seen 44 times. Token `on-surface`, CSS `--pst-color-on-surface`.
- **Amber (#75715E):** Secondary text, seen 8 times. Token `on-surface-variant`.
- **Mist (#EFEFEF):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Cool Silver (#D1D5DA):** Borders and dividers, seen 10 times. Token `outline`.
- **Deep Cyan (#013243):** Brand color on large areas, seen 2 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Cyan (#0A7D91):** Links and interactive text, seen 53 times. Token `secondary`, CSS `--pst-teal-500`.
- **Dark Cyan (#086B7C):** Accent (CSS variable). Token `tertiary`.

## Typography

**system-ui** carries the whole interface. Fallback stack: `-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue`. Other loaded fonts: Font Awesome 7 Free.

- **display-hero:** system-ui 37px at weight 400, line height 1.65. Oversized hero statements.
- **headline-display:** system-ui 27px at weight 600, line height 1.15, tracking 0.056em. Page title (h1).
- **body-md:** system-ui 16px at weight 400, line height 1.65. Body text.
- **body-sm:** system-ui 13px at weight 400, line height 1.3. Secondary and small text.
- **label-md:** system-ui 16px at weight 700, line height 1.65. Buttons, navigation and labels.
- **label-sm:** system-ui 13px at weight 700, line height 1.3. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 27% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 2.56px, sm 5.12px, md 16px, lg 30px, xl 40px.
- **Gaps:** 30px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1408px.
- **Page margin:** 16px on each side of full-width sections.
- **Breakpoints:** 400px, 576px, 600px, 768px, 800px, 850px, 992px, 1023px, 1024px, 1090px, 1150px, 1200px, 1300px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0.1) 0px 3.2px 8px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px`
- `rgb(10, 125, 145) 0px 2px 0px 0px`

## Shapes

Most elements use 4px corners. Measured radii, most used first:

- **sm (4px):** 40 elements.
- **md (20px):** 4 elements.
- **lg (25px):** 4 elements.

## Components

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

- **card:** transparent fill, #222832 text, 16px/400, 4px radius, padding 0px, border 1px solid #D1D5DA, shadow `rgba(0, 0, 0, 0.1) 0px 3.2px 8px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px`.
- **link:** transparent fill, #0A7D91 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #EFEFEF.
- Do keep text in 2 levels: #222832, #75715E.
- Do use #013243 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (5.12px, 16px, 30px).
- Do use 4px corners on most elements; larger surfaces also use 20px and 25px.
- Don't introduce new font families beyond system-ui.
- Don't use #013243 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.3s.

- **Easing:** `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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

```
