Midtrans
Indonesia's most comprehensive payment gateway, enabling businesses of all sizes to accept 25+ payment methods with enterprise-grade security and a developer-friendly platform.
Colors
Typography
- display
- fontFamily: Poppins · fontSize: 60px · fontWeight: 700 · lineHeight: 68px · letterSpacing: -0.04em
- headline-lg
- fontFamily: Poppins · fontSize: 40px · fontWeight: 600 · lineHeight: 48px · letterSpacing: -0.02em
- headline-md
- fontFamily: Poppins · fontSize: 28px · fontWeight: 600 · lineHeight: 36px · letterSpacing: -0.01em
- title-lg
- fontFamily: Poppins · fontSize: 20px · fontWeight: 600 · lineHeight: 28px · letterSpacing: 0em
- body-lg
- fontFamily: Poppins · fontSize: 18px · fontWeight: 400 · lineHeight: 28px · letterSpacing: 0.01em
- body-md
- fontFamily: Poppins · fontSize: 16px · fontWeight: 400 · lineHeight: 24px · letterSpacing: 0.01em
- label-md
- fontFamily: Poppins · fontSize: 14px · fontWeight: 600 · lineHeight: 20px · letterSpacing: 0.02em
- label-sm
- fontFamily: Poppins · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.03em
Design guidance
Overview
Midtrans is Indonesia's most comprehensive payment gateway, serving startups, growing businesses, and enterprises with a unified platform for accepting 25+ payment methods. The design system embodies "Technical Clarity"—a philosophy that transforms complex financial infrastructure into an intuitive, trustworthy interface. The aesthetic is rooted in corporate professionalism with approachable warmth: a deep navy foundation (#123049) paired with a vibrant cobalt accent (#054fbf) that signals security, reliability, and forward momentum. The UI communicates precision without coldness, confidence without arrogance.
The brand voice is direct, solution-focused, and locally grounded. Midtrans speaks to Indonesian business owners in their language—practical, outcome-oriented, free of jargon bloat. Tone examples: "Terima pembayaran hari ini juga, walaupun Anda bekerja sendiri" (Accept payments today, even if you work alone) and "Fokus pada bisnis Anda untuk kelola semua pembayaran" (Focus on your business; we'll handle all payments). The vocabulary emphasizes ease, speed, and completeness—never hype, always substance. Every interaction should feel like a capable partner, not a sales pitch.
Colors
The Midtrans color system is anchored in a deep, trustworthy navy (#123049, primary on-surface text) that conveys financial stability and institutional credibility. The primary accent is a vivid cobalt blue (#054fbf), used exclusively on call-to-action buttons, active states, and key interactive elements—this is the color users click on, the signal of agency and forward motion. Secondary and tertiary blues (#007fe7 and #0094d3) provide supporting emphasis for secondary actions and status indicators without competing for attention.
The surface stack is built on clean white (#ffffff) with subtle cool-toned grays for depth: surface-container-low (#edf4f9) for input backgrounds, surface-container (#e8f0f7) for secondary surfaces, and surface-container-high (#dce6f0) for hover states. This coo
Typography
The type system uses Poppins exclusively, a geometric sans-serif that balances technical precision with human warmth—critical for a fintech brand serving diverse business sizes. Display (60px, 700 weight, -0.04em letter-spacing) anchors hero sections with commanding presence; Headline-lg (40px, 600 weight) introduces major sections; Headline-md (28px, 600 weight) breaks content into digestible chunks. Body-lg (18px, 400 weight) and Body-md (16px, 400 weight) maintain readability at 28px and 24px line-heights respectively, with 0.01em letter-spacing to prevent cramping on smaller screens. Label-md (14px, 600 weight, 0.02em spacing) is used for button text and form labels, ensuring clarity in dense UI. Label-sm (12px, 500 weight, 0.03em spacing) handles metadata and secondary information. On
Layout
The layout system uses a 12-column grid with a fixed max-width of 1280px, centered on the viewport with 24px gutters on desktop and 12px on mobile. This constraint ensures content remains scannable and prevents line-length from exceeding 75 characters on body text. Sections are separated using lg spacing (40px) for major breaks (hero to features, features to pricing) and md spacing (24px) for subsections within a feature block. Container max-widths vary by context: 1200px for full-width hero sections, 1080px for content-heavy pages, 900px for narrow form layouts. White-space is used strategically to create visual breathing room—never compress sections below 40px vertical separation. The spacing scale (unit: 8px) cascades through all components: buttons use md padding (24px horizontal, 12px
Elevation & Depth
Depth in Midtrans is conveyed through subtle shadow layering and strategic use of border colors, never through darkness or opacity shifts. Level 1 (Base/Cards) uses box-shadow: 0 1px 2px rgba(45, 50, 55, 0.06)—a barely-perceptible lift that separates cards from the white background. Level 2 (Elevated Cards/Modals) uses box-shadow: 0 10px 20px rgba(45, 50, 55, 0.06)—a soft, diffuse shadow that suggests depth without drama. Level 3 (Floating Elements/Dropdowns) uses box-shadow: 0 12px 24px rgba(0, 0, 0, 0.11)—a slightly darker shadow that creates clear separation from the page. All shadows use a
Shapes
The Midtrans shape philosophy is "Approachable Precision"—rounded corners that soften corporate formality without sacrificing clarity. Buttons use lg radius (20px), creating a friendly, inviting appearance that encourages clicks while maintaining a professional edge. Cards and elevated surfaces use lg radius (20px) for consistency with buttons, creating a cohesive component family. Input fields and smaller interactive elements use DEFAULT radius (8px), providing subtle rounding that prevents the UI from feeling too rigid. Badges and pills use full radius (9999px), appropriate for their compact
Components
Action Elements Buttons are the primary call-to-action mechanism and must be visually dominant. Button-primary uses primary blue (#054fbf) background with white text, 48px height, 24px horizontal padding, and lg radius (20px). On hover, the background darkens to #003d99 and the shadow increases from md to lg elevation, with a 2px upward transform to signal interactivity. Button-secondary uses a transparent background with a 2px primary-colored border and primary text; on hover, it fills with primary-container (#d6e3ff) to show state change without overwhelming the page. Button-ghost is used for tertiary actions—transparent background, primary text, no border—and only gains a surface-container-low background on hover. All buttons use a 200ms cubic-bezier(0.2, 0, 0, 1) transition for smo
Do's and Don'ts
**Do**
- Do use primary blue (#054fbf) exclusively on CTAs and interactive elements that require user action—never on passive content or backgrounds.
- Do maintain 24px gutters and 40px section spacing to create visual breathing room; dense layouts undermine the brand's approachable professionalism.
- Do apply lg radius (20px) to all primary buttons and cards to signal friendliness; smaller radius (8px) is reserved for inputs and secondary surfaces.
- Do use Poppins at 600+ weight for all headlines and 400 weight for body text; never mix font families or use weights outside the defined scale.
- Do increase shadow elevation and apply a 2px upward transform on button hover to create tactile feedback; never rely on color change alone.
- Do use the full Material 3 color token system (primary-container, on-primary-container, etc.) in components; never hardcode hex values inside component definitions.
**Don't**
- Don't use secondary or tertiary blues (#007fe7, #0094d3) on primary CTAs; these are reserved for secondary actions and status indicators.
- Don't apply border-radius greater than 24px on any component—this creates a cartoonish appearance that conflicts with the brand's professional credibility.
- Don't use opacity or color desaturation alone to indicate disabled states; use a distinct desaturated color (e.g., #7686ab) with cursor: not-allowed.
- Don't mix Poppins with system fonts or other typefaces; the entire type system must use Poppins to maintain visual cohesion.
- Don't create custom shadows outside the defined elevation scale (sm, md, lg); always reference {elevation.x} tokens to ensure consistency.
- Don't use pure black (#000000) or pure white (#ffffff) for text on colored backgrounds; always use on-primary, on-secondary, or on-tertiary tokens for accessible contrast.
Edit, then copy or download.
More analyses
All 1810 →Made by Sokosumi: AI coworkers for marketing
This tool is free. Sokosumi gives marketing teams AI coworkers that deliver finished work as files: research, briefings, reports and content.
*No Credit Card required