HIYSL REFERENCE / FIELD NOTES

How to Choose Readable Colors for a Navigation Menu

On this page
AI-generated illustration; not taken on location · Illustration of contrasting text and background swatches arranged as a menu palette
AI-generated illustration; not taken on location · A small palette helps organize text and background choices.AI-generated illustration

Choose a readable navigation menu by starting with one background color and one text color, then checking the contrast of the colors as they actually appear together. Repeat that check for every menu state, and use a cue such as an underline or border to make important changes recognizable without relying on color alone.

A menu can look clear in its default state but become harder to use when an item is hovered, focused, or activated. The following process helps you compare those combinations, distinguish the current page, and keep a record of the choices that work.

Choose a starting pair

Begin with a color you want to anchor the menu. It might be a color already used elsewhere in the design or a neutral background that lets the menu fit comfortably with the page. Decide whether it will serve as the menu background or as the text color, then choose a second color for the element beside it.

For example, you could begin with a dark background and light text, or a light background and dark text. Treat either combination as a starting point, not proof that the words will be easy to read. The exact shades matter, so write down the values you intend to use and check the pair before settling on it.

Keep the first palette small: one background, one text color, and a short list of possible colors for states that need to look different. This makes it easier to see which choices have a purpose. If you are choosing from an existing palette, start with the closest candidates rather than trying every possible combination at once.

Make a short list

Record the intended role beside each candidate: “menu background,” “default text,” or “possible focus color.” If you use a color-picking or palette tool, note the values it provides so you can compare the same shades later. Check how the tool accepts and displays colors before relying on its output.

At this stage, ask yourself: Which color needs to stay because it connects the menu to the rest of the design, and which color can change if the pair is difficult to read? Having that flexibility makes the next check more useful.

Check the actual text and background

Compare the color of the menu text with the background directly behind that text. A contrast ratio uses relative luminance, so the result depends on the particular colors being compared. Two colors that look different as separate swatches still need to be assessed together in the menu.

Enter the text and background values into a contrast checker, following its instructions for identifying each color. Read the result in relation to the text you are assessing, including any guidance the checker provides about text size. If you are unsure what a result means for your menu, check the guidance accompanying the checker before treating the pair as suitable.

If the result or the menu itself suggests that the text is difficult to read, adjust one color and compare the pair again. For instance, keep the chosen background and try a different text shade; if that does not give you a useful result, consider changing the background too. Record the revised values so you do not accidentally return to an earlier combination.

Check what sits behind the words

Look at the area immediately behind each label. If different menu items appear against different backgrounds, check each text and background pairing. If a menu sits over an image or another changing background, review the combinations that can appear behind the words and consider giving the text a consistent background.

A useful note might read: “Default label: this text value on this background value; result reviewed for the menu text.” Include the actual values and result in your own record. This gives you a clear starting point when you compare the other states.

Review each menu state

A readable default pair is only the beginning. List the colors that appear when an item is in its default, hover, focus, and active states, and check each actual text and background pair. A state may change only the text, only the background, or both; assess the combination that the reader sees.

State What to record What to consider
Default Text and background values before a state change Can the label be read against its background?
Hover Text and background values shown on hover Does the label remain readable when the appearance changes?
Focus Text and background values shown on focus Is the focused item readable and recognizable?
Active Text and background values shown for the active treatment Is the label readable, and is the treatment understandable?
Current page Values and any identifying cue used for the current page Can it be distinguished from an item being hovered, focused, or activated?

Use the state names in the way they apply to the menu you are reviewing. In particular, decide what “active” means for that menu and whether it also needs a separate treatment for the current page. A person should be able to tell where they are and which item they are interacting with when both conditions are shown.

If two states use the same text and background pair, record that deliberately rather than assuming one check covers every question. The pair may be readable in both cases while the states still need different cues. If a state is difficult to assess, write down what needs clarification before approving the palette.

Make state changes recognizable

Color can help organize a menu, but it should not be the only way to communicate a meaningful state. Add a visual cue such as an underline, border, shape, or icon, then check that the cue makes sense alongside the label. The aim is for a reader to recognize the change even when the color difference is difficult to perceive.

Choose cues with distinct jobs. For example, an underline could identify the current page while a border identifies the item receiving focus. Then consider what happens when the current page also receives focus: both conditions should remain understandable rather than one cue hiding the other. If you choose an icon, make sure its intended meaning is clear in the menu rather than assuming readers will interpret it as you do.

Ask a simple recognition question

Look at the menu without relying on its color differences. Can you identify the current page? Can you tell which item is being hovered or focused? If the answer depends on guessing, revise the cue or its placement and check again.

A cue also needs room to appear. Review it around longer labels and near the edges of the menu. Check that an underline is visible beneath the words and that a border does not make neighboring items confusing. If the menu uses several cues, keep their meanings consistent across its items.

The goal is a small, understandable system: a readable label, a visible background, and a clear indication of any state that matters. Record the cue alongside the color pair so a later color change does not accidentally remove the distinction.

Recheck the menu in context

Return to the complete menu after choosing its pairs and cues. Read the labels at the size you expect to use, then enlarge the text or zoom the page and review them again. Check whether labels remain readable, whether state cues are still visible, and whether you can distinguish the current page from the item receiving attention.

Try the same review wherever the menu appears against a different background. If the menu changes appearance in another context, record and assess the text and background colors used there instead of assuming that the original result applies. Pay particular attention to any area where the background behind a label can vary.

Keep a decision record

For each state, save the text value, background value, contrast result, and any additional cue. Note which text size you assessed and where the pair appears. A compact record can also include an unresolved question, such as whether a proposed focus border remains clear when it appears around the current-page item.

Before considering the menu finished, work through these questions:

  • Are the default, hover, focus, and active labels readable against their actual backgrounds?
  • Can a reader recognize the current page and distinguish it from an item being interacted with?
  • Do the cues still make sense when color differences are hard to perceive?
  • What changes when text is enlarged, the page is zoomed, or the menu appears against another background?

If an answer is uncertain, return to the relevant pair or cue, make one adjustment, and review it in context. Update the record with the final choice and keep any remaining concern visible for follow-up.