Choosing Colors and Fonts for Your App
Good app palettes are mostly gray with one confident color. Good typography is one or two families used at a handful of sizes. Here is the system, with examples.

Key takeaways
- An app palette needs four parts: a background, a few neutrals for text and borders, one accent for actions, and status colors for success, warning and error.
- Body text should meet a 4.5 to 1 contrast ratio against its background. This one rule fixes most readability problems.
- Use one or two font families at four or five sizes, and write the whole system into project knowledge so every screen follows it.
To choose colors for your app, start with a neutral background and text colors, add one accent color for buttons and links, and reserve red, amber and green for status messages. For fonts, pick one readable family for everything (or one for headings and one for body), and use it at four or five fixed sizes. That small system looks more professional than any combination of trendy colors, and it is easy to describe to an AI builder.
The anatomy of an app palette
Brand guides show five pretty swatches. Apps need something more functional: colors with jobs. A complete palette for most apps has these roles:
- Background. Usually white, an off-white, or a very dark gray in dark mode. Pure black is rarely the best dark background; a dark gray is softer on the eyes.
- Surface. Slightly different from the background, for cards and panels. In light mode often a touch darker or lighter than the background.
- Text, strong and muted. Near-black for main text, a mid gray for secondary text such as timestamps and hints.
- Lines. A faint gray for dividers and field outlines, if your design uses them.
- Accent. The one color that means “you can act here”: primary buttons, links, selected tabs, the active day in a calendar.
- Status. Green for success, amber for warnings, red for errors and destructive actions. Keep these out of decoration so they keep their meaning.
Notice how little of that is the brand color. A common guideline is roughly 60 percent background, 30 percent surfaces and text, 10 percent accent. The accent stays powerful because it is rare.
Choosing the accent color
The accent carries most of your personality, so choose it with the audience in mind rather than your favorite color:
- Deep greens and teals read as calm, natural and steady: wellness, outdoors, finance tools that want to feel safe.
- Warm oranges and corals read as energetic and friendly: food, community, consumer apps.
- Saturated purples and pinks read as playful or creative: games, social, creator tools.
- Near-black or charcoal accents with lots of white read as premium and editorial: fashion, portfolios, luxury services.
- Blues read as trustworthy and corporate. They are the default for a reason, which is also why they rarely make an app memorable.
Check your accent against your competitors. If every booking app in your city is blue, a deep green or a warm terracotta is instantly distinguishable.
The one rule that matters most: contrast
The most common color mistake in new apps is low-contrast text: light gray on white, white on a pale accent, text over a busy photo. The widely used accessibility guideline (WCAG) asks for a contrast ratio of at least 4.5 to 1 for normal body text and 3 to 1 for large text. Free contrast checkers online tell you the ratio for any two colors in seconds.
Two practical tests: white text on your accent color should be easy to read, or the accent needs to be darker; and your muted gray text should still be readable on a phone in sunlight. When in doubt, go darker.
Never rely on color alone to carry meaning. An error field that only turns red is invisible to many color-blind users; add an icon or a message too.
Choosing fonts: fewer than you think
Most good apps use one font family. Some use two: a display font for headings and a highly readable font for everything else. Three or more starts to look chaotic.
- For body text, choose a clean sans-serif designed for screens. Inter, Roboto, Source Sans 3, and the system font stack are dependable choices.
- For headings, you can add character: a serif such as Playfair Display or Fraunces for editorial or premium feels, a rounded sans for friendly apps, a geometric sans for modern tools.
- For numbers-heavy screens (dashboards, finance, scores), check that the font has tabular figures, so columns of numbers line up.
Then fix a small type scale and stick to it. For example: 32 pixels for page titles, 22 for section titles, 17 for emphasized text, 16 for body, 13 for captions. Body text below 16 pixels on phones is hard to read for many people.
Line height and line length matter as much as size. Body text reads best with line spacing around 1.4 to 1.6 times the font size and lines of roughly 50 to 80 characters on wide screens. Long paragraphs stretched across a full desktop width are tiring to read, so ask for a maximum width on text columns.
How to give your system to an AI builder
An AI builder follows a written system well, and invents one when you do not give it. Write the system once, as a short block, and put it in project knowledge so the agent reads it at the start of every turn:
Visual system for this app. Background #FAF7F2 (warm off-white), cards #FFFFFF, main text #1F1B16, muted text #6B6258, dividers #E8E1D6. Accent #2F6B4F (deep green) for primary buttons, links and selected states only. Success #2E7D32, warning #B26A00, error #C62828, used only for status. Headings in Fraunces, everything else in Inter. Sizes: 32 page title, 22 section, 16 body, 13 caption. Rounded corners, 12 px on cards. Add dark mode equivalents with the same accent, lightened enough to keep contrast.
On Startbase, Google Fonts work by name (or by pasting a Google Fonts link), and the agent wires them in. For your own licensed fonts, upload the .woff2, .woff, .ttf or .otf files in the Code tab (for example into public/fonts) and ask the agent to use them. The docs page on custom fonts has the details.
Adjusting after the app exists
Colors and fonts are easy to revisit later, as long as they live in one place. Three ways to adjust in Startbase:
- Change the system. Ask the agent to update the theme (“make the accent a darker green everywhere”), which changes every screen at once.
- Fix one element. Select it with Visual edit and use the style toolbar, which offers your app's theme colors first, plus a custom picker.
- Explore alternatives. Regenerate on a selected element with Switch colors draws up to four color variations in the chat to compare.
Color and type are the finishing layer of design, not the foundation. For structure and hierarchy, start with how to design an app without a designer, and for making the result work on every screen size, see responsive design explained.
Frequently asked questions
How many colors should an app have?
Usually one accent color, a background, a surface color, two or three grays for text and lines, and three status colors. Most of the screen should be neutral, with the accent reserved for things people can act on.
What is the best font for an app?
There is no single best, but clean sans-serif families designed for screens, such as Inter or Roboto, are safe for body text. Add a second family for headings only if it gives the app character you want.
Do I need a dark mode?
Many users expect one, especially in apps used at night. If you add it, keep the same accent hue, adjust its lightness for contrast, and use a dark gray background rather than pure black.
How do I check color contrast?
Use any free WCAG contrast checker: enter the text and background colors and it reports the ratio. Aim for at least 4.5 to 1 for body text and 3 to 1 for large headings.

