Skip to main content
HP

HP DESIGN.md design system & style guide

CommerceProv1.0.0 (Latest)

HP's design system uses Indigo (#024AD8) as the primary color and forma-djr-micro for type. This DESIGN.md records 10 colors and 64 design tokens from hp.com.

hp.com•Linked Nov 11, 2026, 04:00 AM•Reviewed by Bestony

Consumer electronics storefront pairing medium-weight Forma DJR headlines with a single HP blue and flat, border-defined surfaces.

Pro website

You can read HP's full design narrative and up to 8 primary colors free. Upgrade to Pro for all 64 design tokens, full DESIGN.md downloads, and 1 revisions.

Showing 8 of 10 colors
Dark (10%)
Aa Test Sample#024AD8
primary
rgb(2, 74, 216)
Light (100%)
Aa Test Sample#FFFFFF
surface
rgb(255, 255, 255)
Light (100%)
Aa Test Sample#FFFFFF
on-primary
rgb(255, 255, 255)
Dark (1%)
Aa Test Sample#1A1A1A
on-surface
rgb(26, 26, 26)
Light (91%)
Aa Test Sample#F5F5F5
surface-dim
rgb(245, 245, 245)
Dark (1%)
Aa Test Sample#1A1A1A
inverse-surface
rgb(26, 26, 26)
Dark (12%)
Aa Test Sample#165DBA
primary-container
rgb(22, 93, 186)
Light (81%)
Aa Test Sample#E8E8E8
surface-container
rgb(232, 232, 232)
Get the full palette, CSS variables, and DESIGN.md source

Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.

Design Guidelines

Overview

HP.com is a polished consumer-electronics storefront: bright white pages, crisp product photography, and one dependable blue (#024AD8) doing all the persuading. Everything is set in Forma DJR — HP's bespoke grotesque — at a distinctive medium weight (500) with tight, almost headline-tight line-heights of 1.0, which makes even 56px copy feel tidy and compact. The mood is optimistic tech retail: "Built for what's next" eyebrow lines, big product names like "HP OmniBook", paired Learn/Shop buttons, and endless carousels of laptops, printers, and monitors floating on near-white surfaces.

Colors

  • Primary / "HP Blue" (#024AD8): The single accent — filled buttons, outlines on secondary buttons, links, the "HP for Business" nav chip, and active states. A slightly softer #165DBA serves as a container/hover step.
  • On Surface (#1A1A1A): Near-black ink for all headlines and most body copy; darker than typical gray-text corporate sites.
  • On Surface Variant (#3D3D3D) & #696969: Secondary copy and legal/micro print.
  • Surface Dim (#F5F5F5) & Container (#E8E8E8): Product carousels and section bands sit on these near-whites; chips and quick-buy buttons use E8E8E8 fills.
  • Inverse (#1A1A1A): Dark promo bands and the black button variant ("Learn" on light heroes); text inverts to white.

Typography

One family — Forma DJR (loaded as forma-djr-micro) — carries the entire page, falling back to Arial/Helvetica.

  • Headlines: Always weight 500 with line-height 1.0 — display at 72px, section headers at 56px (sometimes 32px on denser layouts). Sentence case, normal tracking.
  • Titles: Card and block titles at 24px/500 and 20px/500 with slightly looser 1.17–1.2 line-heights.
  • Body: 16px/24px regular; hero subheads step up to 20px.
  • Labels & buttons: 16px at weight 500 — the same medium voice as headlines, which makes CTAs feel like small headlines rather than chrome.
  • Legal/nav: 14px/400 with ~1.33 line-height.

Layout

  • Grid: Very wide 1680px max container — HP designs for large monitors first. Product carousels run edge-to-edge inside it with fixed ~270px card columns.
  • Rhythm: 8px base scale; buttons pad 6–12px, cards and chips 12–16px, section gaps at 24–64px.
  • Hero: Split composition — left-aligned eyebrow + oversized headline + paired CTAs, product render on the right — inside a light surface, with a dot/bar carousel pager underneath.
  • Sections: "Our Products" and promo bands alternate white and #F5F5F5, each headed by a 56px medium headline.

Elevation & Depth

Completely flat — the build measured zero box-shadows. Depth is communicated with surface tonal steps (white → #F5F5F5 → #E8E8E8), 1px outline buttons, and hairline dividers. Overlays like the privacy banner float on plain white with a border, not a shadow.

Shapes

Softly geometric: buttons, chips, and inputs take a consistent 8px radius; cards and product tiles open up to 16px; tiny elements (progress bars, badges) drop to 3–4px; and circular controls (carousel arrows, AI-mode sparkle) go 50%/full. The 8/16 rhythm plus flat fills gives the catalog a friendly but orderly feel.

Motion & Micro-interaction

State changes are uniform: color, background-color, and border-color all transition over 300ms ease. Structural moves are slightly slower — drawers expand via max-height 300ms ease-in-out, carousel slides translate over 400ms ease, and the scroll-progress bar animates width over 700ms ease. Keep to these durations; avoid bouncy curves, and respect prefers-reduced-motion on the auto-advancing hero carousel.

Voice & Content Strategy

Upbeat, forward-looking retail copy. Eyebrows tease ("Built for what's next"), headlines are product names or short benefits ("HP OmniBook", "Keep up with everything life takes"), and CTAs are monosyllabic retail verbs — "Learn", "Shop". New AI features get playful micro-copy ("Shop HP.com by just asking", "Try it now"). Tone is confident but never technical on the surface; specs hide behind "Learn".

Components

  • Primary button: HP Blue fill, white 16px/500 label, 8px radius, compact 6px 12px padding (~36px); hero sizes grow to 12px 16px (~48px).
  • Secondary button: Identical geometry on white with a 1px HP Blue (or black, on promos) outline and matching label color.
  • Dark button: #1A1A1A fill with white label for promos where blue is reserved for links.
  • Navigation: Clean white bar — blue HP roundel, gray 16px product categories, an outlined blue "HP for Business" pill, and icon buttons for search/cart/account plus a sparkle "Try AI Mode" chip.
  • Cards: 16px-radius product tiles on white or #F5F5F5, image-first with title, price, and a quick "Shop" chip on #E8E8E8.
  • Carousel pager: Thin black progress bar with dots and chevron arrows; circular 1px-outlined arrow buttons.

Do's and Don'ts

  • Do keep every headline at weight 500 with line-height 1.0 — never bold, never loose.
  • Do pair CTAs as filled-blue + outlined-blue ("Learn" / "Shop") at identical geometry.
  • Do use #1A1A1A for text and dark promos — HP's ink is near-black, not gray.
  • Do keep surfaces flat: separate sections with #F5F5F5 bands, not shadows.
  • Do hold radii to the 8px/16px system; circles only for icon and arrow buttons.
  • Don't add gradients, glows, or drop shadows — the brand is flat and photographic.
  • Don't set buttons or links in uppercase; labels stay sentence case.
  • Don't introduce a second accent color — blue, black, and neutrals carry the whole page.

How to use HP's DESIGN.md with an AI agent

  1. Get HP's DESIGN.md

    Fetch https://www.designmdpro.app/websites/hp.md or call the get_design_md tool with slug "hp" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.

  2. Save it as DESIGN.md in your project root

    Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.

  3. Ask your agent to follow it

    For example: "Build the settings page following the HP design system in DESIGN.md — use its colors, typography and spacing tokens."

HP style AI prompt

Build a responsive landing page in the visual style of HP (hp.com), following its DESIGN.md design system.

## Colors
- primary: #024AD8
- surface: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #1A1A1A
- surface-dim: #F5F5F5
- inverse-surface: #1A1A1A
- primary-container: #165DBA
- surface-container: #E8E8E8

## Typography
- body-lg: "forma-djr-micro", 20px, weight 400, line-height 1.2
- body-md: "forma-djr-micro", 16px, weight 400, line-height 1.5

## Corner radius
- lg: 16px
- md: 8px
- sm: 4px

## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.

Full DESIGN.md: https://www.designmdpro.app/websites/hp.md
Customize in the V0 prompt generator →

Frequently asked questions

What is HP's primary color?

HP's primary brand color is Indigo (#024AD8). Its DESIGN.md defines 10 color tokens in total.

What font does HP use?

HP uses forma-djr-micro as its primary typeface.

How do I use HP's design tokens in Tailwind CSS or shadcn/ui?

HP's primary color (#024AD8) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.

Is this HP DESIGN.md official?

No. DesignMD Pro extracted it from the public hp.com website. It is not affiliated with or endorsed by HP.

When was HP's DESIGN.md last updated?

Version 1.0.0 was captured on November 11, 2026.

Add to Google favorites

HP and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by HP; this DESIGN.md is extracted from the public website for reference only.