Body text on the page: #001F41 on #FFF1DA14.8 to 1. Meets AAA text contrast, the strictest level.
Start with readable text and a background, then choose one action color.
The same colors on a real page
Three palettes from this page set as a small site, each color doing the job it has in the palette: text, page background, button, an accent for borders and a second color for panels.
Swipe to compare 3 palettes
Body text on the page: #FFE0CC on #00153514.4 to 1. Meets AAA text contrast, the strictest level.
Body text on the page: #5A0A00 on #FFF1DE12.7 to 1. Meets AAA text contrast, the strictest level.
Find the place that feels like your site
Tap any color to copy its hex code.

Bright Studio
Deep blue text on white with cobalt for buttons and links, a mustard accent and pale olive sections, for software or an online course. Button labels in the background color: 6.2 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Prussian | #002E5C | 0, 46, 92 | Anchor |
| Chalk | #F9F7F1 | 249, 247, 241 | Tint |
| Lapis | #005F9D | 0, 95, 157 | Base |
| Mango | #F8B64F | 248, 182, 79 | Accent |
| Celery | #C9CA7C | 201, 202, 124 | Support |
- A readable pair. Best text pairing is 12.6:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 67 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.

Bakery Counter
Cocoa red text on cream with terracotta buttons and links, a pastry pink accent and pistachio sections, for a bakery or a sweet shop. Button labels in the background color: 4.7 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Sangria | #5A0A00 | 90, 10, 0 | Anchor |
| Linen | #FFF1DE | 255, 241, 222 | Tint |
| Paprika | #B84832 | 184, 72, 50 | Base |
| Melon | #F7BEAE | 247, 190, 174 | Analog |
| Bamboo | #CCC78A | 204, 199, 138 | Accent |
- A readable pair. Best text pairing is 12.7:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 66 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.

Surf Shop
Navy text on white with coral buttons, a turquoise accent and sand sections, for a surf school or an outdoor brand, with links kept navy and underlined. Button labels in black: 5.5 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Prussian | #002953 | 0, 41, 83 | Anchor |
| Cloud | #EEF8FF | 238, 248, 255 | Tint |
| Poppy | #D95C4D | 217, 92, 77 | Base |
| Lagoon | #2196A8 | 33, 150, 168 | Accent |
| Wheat | #F4DAB4 | 244, 218, 180 | Support |
- A readable pair. Best text pairing is 13.5:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 69 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.

Glaze and Clay
Ink text on warm cream with cobalt glaze for buttons and links, a sage accent and oatmeal sections, for a maker or a gallery. Button labels in the background color: 6.6 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Ink | #141A29 | 20, 26, 41 | Anchor |
| Linen | #F6EFE6 | 246, 239, 230 | Tint |
| Muted Cobalt | #2351A1 | 35, 81, 161 | Base |
| Deep Putty | #99A47B | 153, 164, 123 | Support |
| Oat | #E3D5C2 | 227, 213, 194 | Neutral |
- A readable pair. Best text pairing is 15.2:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 74 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.

Calm Clinic
Deep teal text on pale mint with teal buttons and links, a soft coral accent and leaf green sections, for a clinic or a spa. White text on the green sections: 4.6 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Midnight Green | #004048 | 0, 64, 72 | Anchor |
| Sea Salt | #E2F9F4 | 226, 249, 244 | Tint |
| Aegean | #006F84 | 0, 111, 132 | Base |
| Deep Melon | #EBA296 | 235, 162, 150 | Accent |
| Fern | #587E40 | 88, 126, 64 | Support |
- A readable pair. Best text pairing is 10.4:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 62 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.

Night Market
A dark page of peach text on night blue, with lantern red buttons, an amber accent and wine sections, for a restaurant or a food festival. Button labels in black: 4.8 to 1.
Hex codes, names and checks
| Color | Hex | RGB | Role |
|---|---|---|---|
| Shell | #FFE0CC | 255, 224, 204 | Tint |
| Midnight | #001535 | 0, 21, 53 | Anchor |
| Vermilion | #E23726 | 226, 55, 38 | Base |
| Coral | #FF8050 | 255, 128, 80 | Accent |
| Muted Burgundy | #751E29 | 117, 30, 41 | Analog |
- A readable pair. Best text pairing is 14.4:1 (4.5:1 passes WCAG AA).
- Light to dark range. Lightness spans 73 points of 100.
- Every color distinct. No two colors are close enough to be confused.
- Holds up colorblind. Colors stay distinguishable under common color vision types.
- Room to breathe. There is a quiet color for surfaces and backgrounds.
More website palettes
Corner Cafe
Open in Hue42Navy text on warm cream with coral buttons, teal accents and pale sage sections, like a corner cafe at dusk. Button labels in black: 5.5 to 1.
#001F41 #FFF1DA #D95C4A #286C87 #CDD6B1
Clear Software
Open in Hue42Ink text on pale blue with bright blue buttons, an apricot accent and aqua sections, for software and online services. Button labels in white: 4.5 to 1.
#16202E #E9F0FD #2F6FED #F4A259 #5BC0BE
Quiet Wellness
Open in Hue42Pine text on near white with sea green buttons, a honey accent and pale mint sections, for a yoga studio or a wellness practice. Button labels in black: 6.5 to 1.
#1F3B35 #F9FBFA #4F9D8B #F2C078 #E4F1EC
Steady Finance
Open in Hue42Navy text on pale blue with blue buttons and links, a gold accent and green sections for charts, for a finance or advice site. Button labels in the background color: 5.7 to 1.
#0B2A4A #E6EEF5 #1E6091 #F2B134 #2BA88A
Darkroom
Open in Hue42A dark page of pale gray text on near black, with coral buttons and links, a soft blue accent and charcoal sections, for photography. Button labels in the background color: 7.3 to 1.
#E8E6E1 #0F1115 #FF7A59 #7AA2F7 #2B2F36
Green Cause
Open in Hue42Forest text on pale green with lake blue buttons and links, a marigold accent and pale sage sections, for a nonprofit or an eco project. Button labels in the background color: 4.8 to 1.
#20402F #EDF3E4 #2E6F95 #E0A63B #C9DDC3
Make it yours in Hue42
Start from your brand color
Type the hex code of your logo or brand color, or choose a photo of your shop, product or place. Hue42 builds a palette around it, and the photo stays on your device.
Keep what you like
Generate a new palette as often as you like. Lock the colors you want to keep and the rest change around them.
Check it, then copy it
Hue42 shows contrast ratios and flags colors that may be hard to tell apart. Check each text and background pair you actually use. Select any color to copy its hex code.

Names you will see in Hue42
- TextHue42: Anchor#001F41
- BackgroundHue42: Tint#FFF1DA
- ButtonHue42: Base#D95C4A
- AccentHue42: Accent#286C87
- SectionsHue42: Support#CDD6B1
More places, more websites
Florist Green
Juice Bar
Lilac and Lemon
Art Room
Stage Lights
Navy and Brass
A short guide to choosing website colors
A simple method: 60, 30, 10
A useful starting point, borrowed from interior design, is to split the page roughly 60, 30 and 10. It is a rule of thumb, not a law, but it helps keep several strong colors from competing for attention.
- About 60 percent: the background.
- The quiet color behind everything. Usually a near white, a warm cream or, for a dark site, a deep navy or near black.
- About 30 percent: text and sections.
- The text color, plus a second color for the header, footer, cards or alternating sections.
- About 10 percent: the button color.
- The boldest color in the palette, kept for button fills and the one thing you want people to press. Keep body links underlined. If you use the action color for links, check it reaches 4.5 to 1 against the background.
Every palette on this page lists its colors in the same order, text, background, button, accent, sections, and its description names each one.
Start with the text and the background
A website is mostly words, so choose the color of the text and the color behind it first. They should be very different in lightness, such as a near black on a warm white, or a pale cream on a deep navy.
The accessibility guideline most sites aim for (WCAG AA) asks for at least 4.5 to 1 contrast between normal-size text and its background, and 3 to 1 for large text. The Hue42 tool shows the most readable pair in any palette and the ratio it reaches.
Pick one color for actions
Give your main buttons one consistent color, and avoid using that color for things that cannot be pressed. Visitors learn quickly what it means. Underline links in body text and check their contrast like any other text.
Make the button color different from the background by more than hue, and check the label on it: a coral or yellow button usually needs dark text, a navy or deep red one needs white. A button should still stand out if the page were printed in gray.
Match the colors to the business
The quickest way to a palette that feels right is to look at a real place in the same trade. A bakery has cream, pastry pink and a warm red; a clinic has pale mint, teal and white; a law office has navy, ivory and brass. The scenes on this page were made with AI to suggest those moods, and each palette is taken from its picture and adjusted for use on a website.
Then make it your own: keep the background and text from the place, and swap the button color for your brand color if you have one.
Start from a logo you already have
If you have a logo, its strongest color is usually your button color. Use it as a background only where text and buttons on it keep enough contrast. Build the rest around it: a near white or deep neutral that suits it, a dark text color with a hint of the same hue, and one accent from elsewhere on the color wheel for highlights.
Check the states, not only the page
A button has more than one look: normal, hover, pressed, disabled and keyboard focused. Check each one against its background. Error and success messages should not depend on red and green alone, since many people cannot tell them apart, so add an icon or a word.
Light, dark or both?
A light background suits most shops, services and anything with a lot of text. A dark one suits restaurants at night, music, events and photography, like the Night Market and Stage Lights palettes. If you offer both, treat the dark page as its own palette instead of inverting the light one: colors that look good on white often look too bright on black, and a softer version of your button color usually works better.
Questions people ask
How do I choose colors for a website?
Pick a background and a text color that are very different in lightness, then one bold color for button fills, and keep everything else quiet. Body links can stay in the text color, underlined. A 60, 30, 10 split of background, text and sections, and button color is a good starting point. Check that your text reaches at least 4.5 to 1 contrast.
What is the 60 30 10 rule for websites?
It is a rule of thumb borrowed from interior design: about 60 percent of the page in a main background color, about 30 percent in a secondary color for text, headers and sections, and about 10 percent in an accent for buttons. It is a guide to balance, not a measurement, so adjust it to your layout.
How many colors should a website use?
Most sites need a text color, a background, a second color for sections or cards and one action color, so around four, plus a lighter and darker shade of each for borders and hover states. A second accent is fine if it has a clear job. If you cannot say what a color is for, leave it out.
What contrast ratio does website text need?
The WCAG AA guideline asks for at least 4.5 to 1 for normal text and 3 to 1 for large text, which is about 24 pixels, or 19 pixels bold. Buttons, links and form fields need clear contrast too. The Hue42 tool shows the most readable text pair in your palette and the ratio it reaches.
What color should my buttons be?
Choose one consistent action color, often your brand color. It must stand out clearly from the page background, and its label needs at least 4.5 to 1 contrast against the button. Keep it the same on every page, so people always recognize what to press.
Should my website background be white?
It can be, but it does not have to be. Pure white works well for dense text and tools. A warm off white or pale tint feels softer and more personal, and a dark background suits restaurants, music and photography. Choose by the feeling you want, then check the text contrast, which matters more than the exact shade.
How do I make a website work for color blind visitors?
Many people, far more men than women, see some colors differently, so do not rely on color alone. Use differences in lightness, add icons or text labels for status, and underline links in body text. The Hue42 tool runs a color vision check on every palette and shows what to try if it fails.
Try your own colors on a page
Open any palette in the Hue42 color tool and swap in your brand color. It shows the most readable pair, how the colors work together and what to try if something is off.
Open these colors in Hue42





