Skip to main content
Brand and assets
BuildMonitor and contribute
/
Brand and assets
  • Foundations
    • The brand
    • Logo
    • Colors
    • Typography
    • Styles
    • Shadows & radii
    • Spacing & grid
    • Gradients
    • Styling & the sx prop
    • Color tokens
    • More
    • Accessibility
      • Accessible names
      • Headings
      • Images
      • Accessible colors
      • Anchors
      • HTML semantics
      • DOM order
      • Accessible alternatives
      • Debug with the accessibility tree
      • Engineer setup
  • Assets
  • AI references
  • Foundations
  • Accessibility
  • Accessible colors

Accessible colors

What is color contrast?​

Color contrast is the difference in luminance between a text color and its background. Sufficient contrast makes text readable for users with low vision or color blindness.

The WCAG rule (AA standard)​

Content typeMinimum ratio
Normal text (< 18px)4.5:1
Large text (≥ 18px or 14px bold)3:1
UI components & borders3:1

This is defined by WCAG 2.1 criterion 1.4.3 and RGAA criterion 3.2.

info

In Murray, colors in the 500, 700, and 900 ranges meet AA contrast against white or grey-100 backgrounds. Green, pink and orange are exceptions and still need improvement.

How to verify contrast​

Use the WebAIM Contrast Checker to check any two colors by pasting their hex values. Useful when choosing a new color.

Checks for Engineers

Chrome DevTools​

  1. Right-click any element → Inspect
  2. In the CSS panel, click the color swatch next to a color or background-color property
  3. The contrast ratio appears below the color picker with a ✅ (AA) or ❌

axe DevTools​

Run a full page scan (see Engineer Setup). It will automatically flag elements with insufficient contrast.

Edit this page
Previous
Images
Next
Anchors
  • What is color contrast?
  • The WCAG rule (AA standard)
  • How to verify contrast
    • Chrome DevTools
    • axe DevTools