Primary Colors: What They Are and How Designers Use Them

What are primary colors? The answer depends on the medium: red, yellow and blue for paint, red, green and blue for screens, and cyan, magenta and yellow for print. Here's how each model mixes, and how designers turn a primary color into an accessible brand palette for websites and apps.
Last updated:

November 28, 2026

Primary Colors: What They Are and How Designers Use Them

Primary colors are the small set of colors you mix to make the other colors in a color system. Which three you use depends on the medium: red, yellow and blue for paint, red, green and blue for screens, and cyan, magenta and yellow for print.

If you’re asking what are primary colors because you’re choosing colors for a website or app, the term has a second meaning: the one brand color that drives your buttons and links.

Key takeaways

  • There isn’t one set of primaries. There are three common models, and each fits a different medium.
  • Screens add light, so RGB mixes toward white. Paint and ink absorb light, so RYB and CMY mix toward dark.
  • Everything a website or app shows is built from RGB.
  • In UI design, “primary color” also means your main brand color, used mostly on interactive elements.
  • A working brand primary needs a range of shades and has to meet WCAG contrast minimums.

What are primary colors?

Primary colors are the starting colors of a mixing system: combine them in different amounts and you get the rest of that system’s range. The catch is that “can’t be mixed from other colors” is only true inside one system.

Mix magenta and yellow ink and you get red. So red is a primary in paint and on screens, but a mixed color in printing. A more accurate definition of a primary color is “a color that can’t be made from the other primaries in the same model.”

Why three? Primaries come from the mixing model and from human vision, not from light itself, as Wikipedia’s primary color article explains. Most people have three types of cone cells, and the brain compares their signals to see color. Three well-chosen primaries can stimulate those cones in enough combinations to produce a wide range of colors, though no real set of three can mix every color we can see.

What are the three primary colors?

It depends on the model: red, yellow and blue (RYB) for paint, red, green and blue (RGB) for light and screens, and cyan, magenta and yellow (CMY, or CMYK with black added) for printing.

Ask a painter and a web designer “what are the three primary colors?” and you’ll get two different answers. Both are right for their medium.

RYB (red, yellow, blue). The model most of us learned in school, and the basis of the traditional artist’s color wheel.

RGB (red, green, blue). This is how light mixes. Britannica notes that red, green and blue light combined at full, equal strength make white, and that this mixing is the basis of television and other displays.

CMY(K) (cyan, magenta, yellow, plus black). How printers mix ink. Each ink absorbs part of the light, and what’s left is the color you see.

Model Primaries Mixing type All three combined Where designers use it
RYB Red, yellow, blue Subtractive (pigment) Muddy brown or near-black Painting, art education, the traditional color wheel
RGB Red, green, blue Additive (light) White Websites, apps, screens, video
CMY(K) Cyan, magenta, yellow, plus black (K) Subtractive (ink) An imperfect dark, so black ink is added Print: brochures, packaging, business cards

Are the primary colors RGB or RYB?

Both, for different jobs. RGB describes how light mixes on a screen, and RYB is the painter’s model. Printing uses a third set, CMY.

The difference comes down to additive and subtractive mixing:

  • Additive (RGB): a screen starts black and adds light. The more light you add, the brighter the result, until all three make white.
  • Subtractive (RYB and CMY): paper starts white, and each pigment or ink absorbs (subtracts) some of the light. The more you layer, the darker the result.

RYB isn’t wrong. It’s useful for learning how colors relate. But it’s best treated as a simplified teaching model: it has been criticized for lacking a scientific basis, and color theorist Albert Munsell called it a “widely accepted error.” Cyan, magenta and yellow generally mix a wider range of colors, which is why printers use them.

For a website or app, you’re working in RGB, usually written as hex codes or HSL values.

A short history

The term “primary colors” in English goes back to Robert Boyle in 1664. In the 1720s, Jacob Christoph Le Blon printed color images from separate red, yellow and blue plates. Later, Thomas Young, James Clerk Maxwell and Hermann von Helmholtz proposed red, green and blue style primaries based on how the eye’s receptors respond, which became the basis of modern color science.

What happens when you mix primary colors?

Mixing two primaries gives you a secondary color, and which secondaries you get depends on the model:

  • RYB: red + yellow = orange, yellow + blue = green, blue + red = purple
  • RGB: red + green = yellow, green + blue = cyan, blue + red = magenta
  • CMY: cyan + magenta = blue, magenta + yellow = red, yellow + cyan = green

RGB and CMY are mirror images: the secondaries of light (cyan, magenta, yellow) are the primaries of print, and the reverse. That’s a big source of confusion.

On a color wheel, the three primaries sit evenly spaced, 120 degrees apart, with the secondaries between them. Mix a primary with the secondary next to it and you get a tertiary color, such as red-orange or blue-green.

How do designers use a primary color in a website or app?

In UI design, the primary is a role, not a hue. It’s the one brand color that tells users what they can click or act on: main buttons, links, selected tabs and active states. The rest of the palette supports it.

Adham Dannaway recommends this approach in Practical UI: use one brand color, mainly on interactive elements, and keep separate system colors for status messages like success, warning and error. He points to products like Facebook, Airbnb and Spotify, which each lean on a single recognizable brand color.

A typical product palette has four roles. This structure follows the palette roles Arash Ahadzadeh lays out in Essentials of UI Design:

Role Job Example use
Primary (brand) Signals action and brand Main buttons, links, selected tabs, focus states
Secondary / accent Adds variety and highlights Badges, illustrations, chart series
Neutrals (greys) Carry most of the interface Body text, backgrounds, borders, dividers
Semantic (system) Communicate status Success, warning and error messages

One brand color isn’t enough on its own, though. In Refactoring UI, Adam Wathan and Steve Schoger argue you need more shades than you think: roughly 5 to 10 shades of your primary and 8 to 10 greys, defined up front so you aren’t inventing new colors screen by screen. They also suggest working in HSL rather than hex, since HSL lets you adjust lightness directly.

Illustrative example: a fintech startup picks a blue primary. Darker shades handle links and hover states, a middle shade fills the main buttons, and the lightest tints become backgrounds for selected rows.

Color is one part of usability. Our UX optimization guide covers the rest of what to review.

How do you make a primary color accessible?

Check your primary against WCAG contrast minimums, and never let color be the only signal.

The numbers come from the W3C:

The color-alone rule matters because many people see color differently. MedlinePlus Genetics (NIH) reports that red-green color vision deficiency affects about 1 in 12 males and 1 in 200 females among people of Northern European ancestry. Jeff Johnson makes the same point in Designing with the Mind in Mind: human color vision is limited, so a difference in color by itself is a weak signal. Pair it with a label, icon or underline.

A common problem is white text on a bright brand color like yellow, light green or orange. It can look great and still fail contrast. As Wathan and Schoger put it in Refactoring UI, “accessible doesn’t have to mean ugly.” Their fixes include dark text tinted with your brand hue on a light tint of the same color, or rotating the hue slightly to find a shade that passes.

Why does a brand color look different on screen and in print?

Screens and printers use different models with different gamuts (the range of colors each can produce). Some bright RGB colors simply can’t be printed with CMYK ink, so they shift on paper.

Vivid blues, greens and oranges often look duller in print. That’s the limit of mixing ink instead of light, not a printer error.

Printers add black (K) to cyan, magenta and yellow for practical reasons. According to Wikipedia’s CMYK article, black ink gives sharper text and deeper darks, uses less ink so pages dry faster, and costs less than layering three colored inks.

Practical tip: define a print version of your brand color in your brand guidelines, and proof it on paper before a large run.

How Convex approaches this

Convex is a founder-led UI/UX design agency with 4+ years of designing digital products. We design in Figma and build websites in Framer, so our color work happens in RGB, inside real interfaces.

In our free UX audit, we check whether your brand colors pass contrast and whether they’re used consistently across your site or app. There’s no commitment.

If you only need a color picked for a logo or a print piece, a brand designer or a freelancer may be the better fit. We’re most useful when that color has to work across a whole interface.

FAQ

What is the definition of a primary color?

It’s one of a small set of colors that you mix to create the other colors in a color model. It can’t be made by mixing the other primaries in that same model.

What are the three fundamental colors?

For light and screens, the three fundamental colors are red, green and blue. For printing they’re cyan, magenta and yellow, and for traditional painting they’re red, yellow and blue.

What are the main colors?

People often mean the rainbow’s seven colors: red, orange, yellow, green, blue, indigo and violet. Those are bands of a continuous spectrum, not primaries. The primaries are the three colors of whichever mixing model you use.

Why does CMYK include black?

Mixing cyan, magenta and yellow ink gives a dark but imperfect black. Adding black ink gives sharper text and deeper shadows, uses less ink and lowers printing cost.

Are black and white primary colors?

No. On a screen, black is the absence of light and white is all three RGB primaries at full strength. In print, white usually comes from the paper, and black is added as a separate ink.

How many brand colors should a website have?

There’s no fixed number, but a strong starting point is one brand color for actions, a set of greys, and a few system colors for success, warning and error. Then define several shades of each.

Choosing primary colors: the short version

Pick the model for the medium first: RYB for painting and learning, CMYK for print, RGB for anything on a screen. Then, for a website or app, treat your primary as a role: one brand color for actions, a full range of shades, and contrast that passes WCAG.

So the honest answer to what are primary colors is “it depends on where the color will live.”

Not sure your brand colors pass? Book a free UX audit and we’ll check your contrast and color consistency, with no commitment. If you’re planning a new product or redesign, see our UI/UX design service.

Akib Ahmad

Akib Ahmad

Co-founder & CEO

Akib Ahmad is the co-founder and CEO of Convex, a UI/UX design and web development agency for startups and growing businesses. He has 4+ years of experience designing websites, mobile apps, dashboards and MVPs, including in-house product work at EdTech and InsurTech startups and client projects in e-commerce, real estate and fitness. He writes about product design, UX and what it really takes to launch digital products that users enjoy and businesses can grow with.