Contrast attracts your eye

Contrast makes things stand out from their surroundings, be more noticeable. Things with higher contrast will be more noticeable.

Contrast is the most common problem area I find when analysing designs, usually because there just isn't enough contrast, or the highest-contrasting elements aren't the right ones.

How to use Contrast

Designers use contrast to help users to browse effectively by guiding the eye swiftly and effortlessly around the page. A web page that has been well crafted feels refreshingly easy to look at, because it helps to minimise the difficulty of interacting with a screen (see above). All screen features compete for the eye's attention. High contrast is employed to promote more important features. Low contrast helps to make less important features recede a little from view.

Example of insufficient contrast

Get Inspired original - lacking tonal contrast

http://www.getinspired.at/

This is a nice layout, with the pleasant angular shapes winding around the main content area. I also like the subtle silhouette behind the navigation.

There are a few big problems. Firstly, there is simply not enough contrast to make the content clear to read. Grey text sits on a grey content background, against a grey page background. This is compounded by the smallness of the text and logo, because size multiplies contrast. By far the most noticeable item on the page is the 'Get Firefox' logo.

In addition, the site logo is far too small. A site ID is a vital element for letting a user know where they are. Apart from being too small, the logo is oddly positioned to the bottom-right of its containing box.

For a site home page, the content says very little in too many words, and fails to give the most relevant information. "The primary aim of this site is to give you some information of who I am and what I do," would be much better expressed in terms like, "This is the personal site of Juergen Lang, a web developer working in Linz, Austria..." and then go on to describe why you should look further.

 
Get Inspired - increased contrast

A few quick changes increase the contrast significantly, by making the content background much lighter, darkening the side nav links, and magnifying the site logo.

Readability and scannability are both dramatically increased by the simple increase in tonal contrast.

Another small change I've made is to move the section headers towards the left. In the original above, the news bullets extend further left than their header, which feels slightly odd.

 

One to try

Visit Alex King's site, and try switching the styles using the icons at the top-right. Which is easiest to read?

Contrast devices

Areas of high contrast attract the eye more than elements of low contrast.

Sharp changes in tone attract.

Areas of tone/colour that are different (from the page background or colour scheme) stand out

This is obvious. If you put an orange logo on a predominantly blue page, it will stand out because the colour contrasts. A single white box on a dark page will stand out because there's a lot of tonal contrast.

New things with high contrast stand out more than familiar things.

When the user has already seen even one page and identified that dark bar at the top as "navigation", and that strip below it as "a banner ad" they'll automatically start to ignore it.

Therefore, when there's something important for the user to see, it's easier to show if it's placed in a part of the page that changes, i.e. content canvas. Otherwise, it would have to work a lot harder to be seen.

Movement attracts.

Things that move are obviously very effective at attracting the eye. In real life, we need to be more interested in moving things, because they're more likely to be food or a threat. Our brains are tuned to respond more to movement out of the corner of the eye than to things in centre-vision that move.

Movement doesn't just mean animation. To a lesser degree, the visual suggestion of movement also attracts. Diagonal lines attract more than square lines. Busy patterns attract more than flat tones.

Example: Amok

This is a nice-looking design (this view is 2/3 size), which uses pleasant subtle gradients.

However, the contrast balance is wrong. The areas of high contrast don't highlight the more important features.

The most noticeable screen elements are:

  • The two ad panels on the left side (these point to external 'featured sites', and don't relate to content)
  • Also high-profile is the top image on the right-hand side, which is high-contrast and features a diagonal (this is promoting a design template for sale; content on this site, but again not the focus of the home page)
  • Less noticeable is the very nice flower image in the background of the top bar.

At 2/3 scale, there is nothing else really noticeable on this page, but a design with good contrast should be understandable even at this scale.

Recommendations:

To make the design more effective, contrast should be added to draw attention to the intended focal points of the page. Main navigation, page and section titles, and site logo should be clear. The page is generally very light, so what it needs is extra darks.

It might also benefit from extra clarification of the sections on the page. The navigation should be distinguished from the main content area, as well as any secondary areas (side links and adverts).

The Squint Test

The squint test is an easy way of assessing the overall contrast of a page.

All you need to do is close your eyelids so your eyes are about three quarters closed, so that normal text becomes blurred and unreadable. All you'll be able to make out is areas of lights and darks, and strong colours. This will reveal the areas of highest contrast.

Check where your eyes tend to focus. What are they drawn to on the page? This will give you a good impression of the most 'attractive' elements. Are they the right ones to help your visitors use the site successfully?

Try the squint test on the Amok screengrab above. You'll see that the two left-hand blocks are most attractive, then the image on the right, and maybe then the background image at the top right of the page.

Try it on something that uses simple, clear colour and contrast, like this iPod advert.

Apple iPod advert, copyright Apple

Measuring contrast

To check contrast, you need to compare the brilliance/luminosity of the foreground and the background. The greater the difference, the greater the contrast.

For the following examples, I took screengrabs, reduced them to greyscale in Photoshop, and took luminosity readings with the colour picker. Try the squint test on these:

Example A: Web Design from Scratch

WDFS has strong contrast

WDFS uses black/white for the majority of body text, for maximum readability. Certain blocks of text (introductory paragraphs, comments and callouts) are displayed on variations of light grey, but still offer around 90% contrast.

Example B: sealedmedia.com

Lack of tonal contrast in top navigation

The main navigation uses white or mustard yellow, on a mid-to-dark grey background. The white contrasts only 32% against the grey, which is probably insufficient for people with visual impairments.

Yellow/grey has very little tonal contrast - only 7%. This design relies on the yellow's contrasting hue; which is not a safe option for certain colour combinations.

The yellow colour is used for the current section, which is a mistake. The current link should be permanently highlighted, either with extra light, extra coloured light, or extra contrast. While the yellow is adding colour, it is not coloured light, and reduces contrast far too much.

Example C: transformationalbreath.co.uk

Transformational Breath - strong contrast against white/light greys

This site puts black text over a grey & white background image.

The minimum contrast is 91%, which is sufficient for the text to be universally readable.

Example D: usernomics.com

Side nav from Usernomics - grey/yellow is not contrasting enough

The default state has yellow over a mid grey, which gives a tonal contrast of only 20/100.

The startling mouseover style (dark grey/yellow) has more contrast, but only 40/100.

Do you love our approach to crafting simple & effective web sites that just work for people?

We'd love to hear about your web strategy. Contact one of our team today!

Search this site
Pro Tips
Learn how to make fantastic web site designs..
Buy "Save the Pixel" now!
On “Save the Pixel”
Clicss templates, great robust useful CSS templates from £40
Share this Article
Send to a friend now&hellip
Follow Ben Hunt on Twitter
Floor 3
111 Buckingham Palace Road
London
SW1W 0WQ
UK
Phone
+44 (0)207 1600 989

Articles + tutorials in Graphic Design for the Web

Web Design index
List of articles and tutorials in Web Design section
Current Style in web design
My summary of the crucial advances in web design in recent years, why today's web sites are better than they were 10 years ago.
Web2.0 Design Style Guide
A guide to the Web2.0 web look, why each feature is effective, and tips on applying the Web20 style to your web sites.
White on White Web Design Style
An overview of my current super-clean design style that really lets the content stand out.
The 10 best-designed web sites in the world
My personal list of 10 favourite sites, and why.
8 Clean web site designs for inspiration
I love collecting links to sites that inspire me to push my own design further, and I thought I'd share my favourites to help inspire you too. The first set perfectly illustrates the core principles of pixel-saving in minimal, clean layouts that focus on the content.
8 Rich web site designs for inspiration
This bunch of sites are all graphcally intense, using a lot of pixels to create a rich experience that doesn't get in the way of successful communication.
9 Functional web site designs for inspiration
A varied group of excellent home page designs that are quite different, but manage to combine brand & functionality effectively on first view.
Clarity in web page design
Making a clear web page depends on making the most important elements appear important, less important stuff less important, related stuff look related, and different stuff look different.
Colour
General guidelines on how to use colour in web pages.
Contrast
The importance of tonal contrast in graphic design for the web
Effective text
Explores the strengths of using HTML text rather than words as graphics in web design
Imagery
How to use imagery to best effect
Attention Map
A low-fi tool for planning page layout, helping you plan what your page should do before you get your hands dirty
Content
Tips on creating effective content for your web pages
Zoom Your Content
Knowing how to size your content appropriately is a fundamental and critical basic skill. All is explained in this article.
Layout for web page design
Overview of the major graphic design devices
Containment
Containment is a layout tool that says visually This thing is part of that
Alignment
Using alignment in visual design for the web to associate related elements
Grouping
Associating elements through relative positioning in space
Rhythm and repetition
A further technique for associating elements is through repeating common styling
3D Effects in graphic design for the web
Guidelines on how to use 3D effects effectively in graphic design for the web
Branding
Tips for branding on the web
Logo design
The four attributes of an effective logo: shape, presence, weight, and contrast
Some Great Web Logos for Inspiration
Sharing my personal collection of almost 50 favourite logos gathered from round the web, with notes on what works & why.
Favourite logos
An older collection of my favourite logos from around the web, with analysis of why I think they work.
Real Web2.0 Design & Branding
Web 2.0 design is not the same as star flashes and shiny table effects - it's about simple, bold, honest brand experiences.
Case study: Artorg
Tweaking the layout to ehance the user experience of a nice community site for graphic artists
Case study: Business Improvement Network
Applies a totally new look and feel to the web site of a business networking organisation
Case study: Kemik's portfolio
Simplifying and enhancing an already attractive artist's portfolio to make it more engaging.
Case study: FairSay home page
A web doctor report for non-profit organisation's home page.
Case study: Media Volunteer
Simplifying and brightening the entry point for a charity application