DESIGN.md · Analysis

TradingView

tradingview.com · 15 Jul 2026 · 47 colors · Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif

TradingView

A professional financial data and charting platform serving traders, investors, and market analysts with real-time price data, technical analysis tools, and community-driven market insights.

Colors

surface#ffffff
surface-dim#f5f5f5
surface-bright#ffffff
surface-container-lowest#fafafa
surface-container-low#f9f9f9
surface-container#f2f2f2
surface-container-high#eeeeee
surface-container-highest#e8e8e8
on-surface#0f0f0f
on-surface-variant#5f6368
inverse-surface#202124
inverse-on-surface#f8f9fa
outline#ababab
outline-variant#d0d0d0
surface-tint#1a73e8
primary#1a73e8
on-primary#ffffff
primary-container#d2e3fc
on-primary-container#001d4d
inverse-primary#aecbfa
secondary#544afd
on-secondary#ffffff
secondary-container#eae6ff
on-secondary-container#1a0e7f
tertiary#ff8a00
on-tertiary#ffffff
tertiary-container#ffe0b2
on-tertiary-container#331a00
error#f23645
on-error#ffffff
error-container#fce4e6
on-error-container#5a0a14
primary-fixed#d2e3fc
primary-fixed-dim#aecbfa
on-primary-fixed#001d4d
on-primary-fixed-variant#003da6
secondary-fixed#eae6ff
secondary-fixed-dim#d0c5ff
on-secondary-fixed#1a0e7f
on-secondary-fixed-variant#3d2fb8
tertiary-fixed#ffe0b2
tertiary-fixed-dim#ffc266
on-tertiary-fixed#331a00
on-tertiary-fixed-variant#664d00
background#ffffff
on-background#0f0f0f
surface-variant#e8eaed

Typography

display
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 56px · fontWeight: 700 · lineHeight: 64px · letterSpacing: -0.02em
headline-lg
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 48px · fontWeight: 600 · lineHeight: 56px · letterSpacing: -0.01em
headline-md
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 32px · fontWeight: 600 · lineHeight: 40px
title-lg
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 20px · fontWeight: 600 · lineHeight: 28px
body-lg
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 18px · fontWeight: 400 · lineHeight: 28px
body-md
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 16px · fontWeight: 400 · lineHeight: 24px
label-md
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 14px · fontWeight: 500 · lineHeight: 20px · letterSpacing: 0.01em
label-sm
fontFamily: Roboto, -apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu, sans-serif · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.04em

Design guidance

Overview

TradingView is a professional financial intelligence platform designed for traders, investors, and market analysts who demand precision, speed, and depth in their market analysis. The brand embodies "Data-Driven Clarity"—a design philosophy that transforms complex financial datasets into intuitive, scannable interfaces without sacrificing information density. The visual language is clean, neutral, and purposefully minimal: a white canvas (rgb(255, 255, 255)) with strategic use of a signature blue accent (primary: #1a73e8) for actionable elements, complemented by semantic color coding for market sentiment (red #f23645 for declines, green #089981 for gains). The emotional response is one of confidence and control—users feel empowered to make informed decisions because the UI gets out of the way.

TradingView's voice is authoritative yet approachable: precise without jargon, confident without arrogance. The tone favors active verbs and concrete data points. Example sentence in brand voice: "Track BNB's 24-hour momentum at a glance—compare against 50+ technical indicators without leaving the chart."

Colors

The color system is anchored in a professional, high-contrast palette optimized for financial data visualization and rapid decision-making. Primary (#1a73e8, a Google-derived blue) is reserved exclusively for interactive elements—buttons, links, active tabs, and focus states—ensuring users instantly recognize clickable surfaces. The primary container (#d2e3fc) provides a soft background for secondary actions and highlights, while the inverse primary (#aecbfa) enables dark-mode compatibility. Secondary (#544afd, a vibrant purple) and tertiary (#ff8a00, a warm orange) serve as accent colors for advanced features and status indicators respectively. Error red (#f23645) is applied to negative price movements, loss indicators, and destructive actions with high visual weight. The surface stack pr

Typography

The typography system uses Roboto as the primary typeface, with fallbacks to system fonts (-apple-system, BlinkMacSystemFont, Trebuchet MS, Ubuntu) to ensure consistent rendering across platforms. The hierarchy spans from display (56px, 700 weight, -0.02em letter-spacing) for hero content down to label-sm (12px, 500 weight, 0.04em letter-spacing) for metadata and timestamps. Headlines (headline-lg: 48px, headline-md: 32px) use 600 weight to convey authority without excessive heaviness, while body text (16px–18px, 400 weight) maintains optimal readability at standard viewing distances. The letter-spacing scale is deliberately tight at display sizes (negative tracking to -0.02em) to create visual compression and sophistication, then opens slightly at smaller sizes (0.01em–0.04em) to preserve

Layout

The layout system uses a 12-column fluid grid with a max-width container of 1280px, enabling responsive scaling from mobile (single column) to desktop (full multi-column layouts). The gutter spacing is consistently 24px, providing breathing room between sections without introducing excessive whitespace. Semantic spacing tokens (xs: 4px, sm: 12px, md: 24px, lg: 40px, xl: 64px) are applied hierarchically: xs for micro-interactions (icon spacing within buttons), sm for related grouped elements (label-to-input pairs), md for section separation, lg for major content blocks, and xl for page-level breaks. The container max-width of 1280px ensures that dense data tables and charts remain scannable without requiring excessive horizontal scrolling. White-space philosophy prioritizes information hier

Elevation & Depth

Visual hierarchy in TradingView is conveyed through a restrained shadow system and strategic use of borders rather than aggressive depth effects. The elevation scale consists of three levels: sm (0 1px 2px rgba(0, 0, 0, 0.06)) for subtle card lift and hover states on secondary elements, md (0 3px 8px rgba(0, 0, 0, 0.15)) for dropdown panels and modal overlays, and lg (0 8px 24px rgba(0, 0, 0, 0.12)) for full-page modals and floating action panels. Cards and containers use a 1px solid border in outline-variant (#d0d0d0) to define edges without relying on shadow alone, maintaining the flat, data

Shapes

The shape philosophy is "Functional Minimalism"—rounded corners are applied sparingly and purposefully to signal interactivity and group related elements, never as pure decoration. Buttons use lg radius (1rem / 16px) to create a soft, approachable feel while remaining distinctly clickable; this radius is applied uniformly across all button sizes (40px height for standard, 32px for compact). Input fields and form controls use DEFAULT radius (0.5rem / 8px), a tighter curve that suggests containment and data entry without the softness of buttons. Cards and container elements use md radius (0.75re

Components

Action Elements Buttons are the primary interaction mechanism and use a 0.218s transition for all state changes. Primary buttons (button-primary) use the signature blue (#1a73e8) background with white text, 40px height, 8px vertical padding, and 24px horizontal padding. On hover, the background darkens to #1557b0 with an added sm shadow (0 1px 3px rgba(0, 0, 0, 0.12)), creating tactile feedback. Focus state applies a 2px solid outline in #00639b with 2px offset, ensuring keyboard accessibility. Secondary buttons (button-secondary) use a light gray background (#f2f2f2) with a 1px border in outline-variant (#d0d0d0), maintaining visual hierarchy while offering alternative actions. Ghost buttons (button-ghost) have transparent backgrounds and blue text, used for tertiary actions or within

Do's and Don'ts

**Do**

  • Do use primary blue (#1a73e8) exclusively for interactive elements—buttons, links, active states—to create a consistent, scannable interface where users instantly recognize clickable surfaces.
  • Do apply the 0.218s transition timing consistently across all state changes (hover, focus, active) to create a responsive, professional feel without jarring animations.
  • Do maintain the 24px gutter spacing between major sections and use md (24px) padding inside cards to preserve information density while ensuring content remains scannable.
  • Do use semantic color coding for market sentiment: red (#f23645) for declines, green (#089981) for gains, and neutral grays for stable or neutral data.
  • Do apply label-md typography (14px, 500 weight) to all button text and use headline-md (32px, 600 weight) for section titles to create clear visual hierarchy without excessive size variation.

**Don't**

  • Don't use shadows heavier than md (0 3px 8px rgba(0, 0, 0, 0.15)) on standard cards or containers—excessive depth contradicts the data-forward, minimalist aesthetic and distracts from content.
  • Don't apply rounded corners larger than lg (16px) except on primary CTAs; tight radii (sm: 4px, DEFAULT: 8px) maintain the professional, structured appearance that financial users expect.
  • Don't mix primary blue (#1a73e8) with secondary purple (#544afd) or tertiary orange (#ff8a00) in adjacent interactive elements; reserve secondary and tertiary colors for status indicators, badges, and advanced feature highlights to avoid vi
  • Don't use on-surface text (#0f0f0f) at sizes smaller than 12px without increasing line-height to at least 1.5; financial data tables require maximum legibility, and cramped text undermines the platform's credibility.
  • Don't add decorative elements, gradients, or animations beyond the 0.218s state transitions; every visual element must serve a functional purpose in communicating data or guiding user action.