The Law of Similarity

Your constantly-updated definition of the Law of Similarity and collection of videos and articles

What is the Law of Similarity?

The law of similarity is a Gestalt psychology principle that refers to how our brains organize and perceive visual information. It states that ​people perceive elements that share similar visual characteristics​ (e.g., color, size, shape) ​to be related​. This law is vital in web design—it helps designers create interfaces that users can easily navigate and understand. 

Show Hide video transcript
  1. Transcript loading…

There’s Something Familiar about Items Being Similar

The Gestalt similarity principle is a fundamental concept in both psychology and design. It comes from ideas about how the human brain naturally organizes information—and states that the mind perceives similar elements as part of a unified whole. Meanwhile, viewers typically view different-looking items as being separate from one another.​     ​ 

Illustration showing the Gestalt laws.

The Gestalt Laws encompass many aspects of how humans perceive images.

© Author/Copyright holder: Impronta. Copyright terms and licence: CC BY-SA 3.0

The Gestalt school of psychology emerged in the 1920s. It consisted of psychologists Max Wertheimer, Kurt Koffka and Wolfgang Köhler in Germany. The Gestalt approach developed theories that would become well-known to graphic designers. Visual perception theories such as the law of prägnanz (a German word for “good figure”), figure-ground and closed region soon became important graphic design principles. These guide designers on how to use lines or curves, shapes, focal points and backgrounds to powerful effect. 

According to the Gestalt school of thought, humans typically perceive patterns using five main categories—summed up in the principle of proximity, principle of continuity, principle of closure, principle of connectedness (or uniform connectedness) and principle of similarity. Similarity is a simple principle that involves an innately human tendency. When people perceive a collection of objects, the brain automatically groups together those that have similar visual characteristics. These include the properties of shape, size, color, texture and orientation. This grouping helps people make sense of the visual information they encounter in the real world. It’s what allows people to perceive patterns, relationships and structures. 

Illustration showing the Law of Similarity

The law of similarity helps the mind associate groups of items with alike properties, including color and shape.

© Interaction Design Foundation, CC BY-SA 4.0

Why is the Gestalt Law of Similarity Vital in Design?

Similarity is crucial in design because it helps designers create visually cohesive and organized designs. It’s a vital ingredient in design works that are easy for users both to understand and to navigate. Here are the main reasons behind the success of similarity as a well-leveraged Gestalt principle: 

Visual Coherence 

When they group similar elements together, designers can create a good sense of visual coherence in their designs. Elements that share visual similarities—such as color or shape—let users easily identify relationships between them. So, users can perceive them as belonging to the same category or group. 

Organized Information 

The principle of similarity lets designers organize information in such a way that it’s visually intuitive and easy for users to understand. As they use similar visual characteristics for related elements, designers can guide users' attention. They can help users quickly understand the structure and hierarchy of the information presented. 

Image showing a Flipkart web page.

Flipkart’s website – divided neatly into categories and leveraging similarity so users can find top deals easily.

© Flipkart, Fair Use

Ease of Navigation 

Similarity in design can also enhance the user's navigation experience. Designers provide consistent visual cues and group related elements together. That way—they can give their users clear visual cues. These guide the users through the user interface (UI) and also help them find the information or functionality they’re after. 

User Engagement 

When elements in a design have shared visual similarities, users will be more likely to engage with the content or interact with the interface. The principle of similarity can make a design more visually appealing and aesthetically pleasing—something that can raise the levels of user engagement and satisfaction, and also even leverage a phenomenon called the aesthetic usability effect.

CEO and Creative Director of Hype4, Michal Malewicz explains the aesthetic usability effect.

Show Hide video transcript
  1. Transcript loading…

How Do Users Respond to the Law of Similarity?

Numerous studies and experiments have provided evidence that users respond to the Gestalt principle of similarity. Here are some key findings: 

1.  Visual attention: Studies have repeatedly demonstrated that users are more likely to direct their visual attention to elements that share visual similarities. ​​For example, if a group of buttons that perform similar functions on a website has similar colors or shapes, users are more likely to notice and interact with them—as opposed to all the buttons being the same color.  

2.  Visual hierarchy: When they use the principle of similarity—and do it well—designers can establish a visual hierarchy that guides users' attention. This helps them navigate through the interface. Research has shown that users are more likely to focus on elements that stand out thanks to their similarity to other elements that are in the design. 

3. Recognition and recall: The principle of similarity can help with users' recognition and their recall of information. When elements share visual similarities, users are more likely to recognize patterns. They can also remember information and make connections between related elements. 

Image of home page.

These iconic orange and gold buttons draw attention to some chief calls-to-action on’s home page.

© Amazon, Fair Use

How to Apply the Law of Similarity in Design

Designers apply the law or principle of similarity to make better designs in various ways. Here are some common techniques and strategies: 

Make Visual Consistency 

UI and UX designers ensure that elements that serve similar functions or belong to the same category share visual characteristics. These characteristics can include color, shape or typography. This consistency is something that helps users understand how different elements are related to one other. It also makes for easier navigation and comprehension. 

  • Icons: Good iconography is a vital part of UI design. When they use similar shapes, styles or color schemes for related icons, designers facilitate users' understanding and improve the usability of the interface with icons that are consistent and recognizable. 

  • Typography:  is another area where designers apply the principle of similarity. By using consistent typefaces, font sizes or font styles for related elements, designers make a design that’s both cohesive and visually appealing. This consistency helps users recognize and associate different pieces of information, too.  

Establish Groups and Categorization

When they use consistent visual cues, designers can indicate the grouping or categorization of different elements. This helps users quickly identify and understand relationships between elements and find the information they are looking for. Designers use: 

  • ​​​​Color: ​​W​ith similar colors for related elements, designers can create a visual hierarchy that guides users through the interface. For example, a website that uses blue buttons for primary actions could use green buttons for secondary actions. This helps users quickly understand the function of each button. Moreover, it quickly helps to show them how to interact with the interface. 

Image of eBay web page.

eBay offers similar buttons in the form of shoe size, etc., while the Search function stays clearly highlighted above.

© eBay, Fair Use

  • ​Shape: ​​With similar shapes for related elements, designers can create a visual pattern that users can easily recognize. For example, a website that uses circular icons for social media links could use square icons for the contact information. This similarity is something that helps users quickly understand the function of each element and how to interact with the interface. ​​ 

  • ​​​Size​​​: ​With similar sizes for related elements, designers can create a visual pattern that guides users through the interface. For example, a website that uses large images for primary content could use smaller images for secondary content—and that helps users quickly understand the importance of each element, plus how to interact with the interface.

Image showing a list of posts on a screen.

The circular icon indicates these two Site Design posts are related.

© John Moore Williams, Fair Use

Highlight Important Elements 

Designers can use the principle of similarity to highlight elements that are important or calls to action. When they make elements that share visual similarities stand out, they create a clear hierarchy. And by making key elements visually distinct from others through color, size or shape, designers draw users' attention. They can also guide their focus to the most critical parts of the interface. 

Image showing a Google Drive screen, containing files.

Google Drive leverages the principle of similarity through the use of consistent typography, icons and colors.

© Ladybug’s teacher files, Fair Use

Best Practices and Tips to Apply the Law of Similarity to User Interfaces

It takes careful consideration and attention to design UIs that make the most of the law of similarity. Here are some ways to leverage it to help create user interfaces that are visually cohesive and intuitive to use, and provide an enhanced user experience: 

Use Consistent Visual Characteristics 

Ensure that elements that belong to the same category or serve similar functions share consistent visual characteristics. Use similar colors, shapes, sizes or typography to establish visual relationships and help users understand more easily. Plus, use a style and color palette that are consistent across the entire interface. 

Use Contrast Effectively 

Use contrast strategically to highlight important elements or create visual hierarchy. By making key elements visually distinct through color, size or shape—designers draw users' attention and guide them through the interface, too.  

Consider the Negative Space

Also known as white space, it’s a vital part of visual design. It gives a web page or app screen needed breathing space. What’s more, it helps “frame” sections for users to spot individual elements more easily.

Avoid Overusing Similarity

While similarity is essential for grouping related elements, avoid overusing it to prevent visual clutter or confusion. Strike a balance between similarity and diversity to make a design that’s both visually appealing and engaging.

Image showing a page of icons.

This selection shows a creative variety of icons leveraging similarity with a balance of diversity.

© Harpal Singh, Fair Use

Consider Cultural and Contextual Factors 

Be mindful of cultural and contextual factors with the principle of similarity. Colors, shapes or symbols may carry different meanings or associations in different cultures or contexts. So, it’s vital to make sure that design choices are in line with the intended audience and context. 

Test and Iterate 

Test designs with users to see how effective the applied similarity principles are. Do usability tests and collect user feedback to find areas for improvement and refine the design iteratively. 

Stay Updated with Design Trends 

Designers should stay updated with the latest design trends and practices so they can make sure their grasp of similarity principles remains both relevant and effective. Embrace new techniques and approaches that are in line with users’ evolving needs and expectations. Another thing is to keep up with the success of new design languages that offer specific layouts, and more. 

Image showing the Overview screen of Material Design.

Google's design language—Material Design—relies heavily on the principle of similarity. Elements such as buttons, cards and icons share visual characteristics that are consistent. This is something that enables users to—quickly—recognize and interact with familiar patterns.

© Google, Fair Use

Potential Pitfalls with the Law of Similarity in UX design

To create interfaces that are visually coherent, intuitive to use and have an enhanced overall user experience, it’s important to be wary of several issues, including: 

  • Visual hierarchy based on similarity alone: Be cautious not to rely just on similarity. Think about other Gestalt principles—such proximity and closure—to create a comprehensive hierarchy that supports users’ understanding of things. 

CEO and Creative Director of Hype4, Michal Malewicz explains the importance of using another Gestalt law, proximity, for visual hierarchy. 

Show Hide video transcript
  1. Transcript loading…

  • Lack of differentiation: Over-reliance on similarity may lead to a lack of differentiation between elements. It’s something that can make it challenging for users to distinguish between different categories or types of content. 

  • Potential for confusion: If designers don’t apply similarity thoughtfully, it can lead to confusion or misinterpretation. Make sure that the similarities used are relevant and meaningful to the users and don’t create ambiguity. What’s more, too many different colors, shapes and sizes could be confusing for users. So, strike a balance between similarity and differentiation to keep things clear—and keep users on the right track, too. 

  • Limited flexibility: If designers keep strictly to the principle of similarity, it may limit design flexibility. Designers need to find a balance between consistency and uniqueness to create visually appealing and engaging interfaces that stand out. 

Image showing Spotify's home page.

Spotify's user interface employs the principle of similarity to group content and create visual hierarchy. For example, playlists are visually distinguishable from individual songs thanks to consistent visual cues, such as color and typography.

© Spotify, Fair Use

Overall, the law of similarity is a crucial principle of Gestalt theory in web (and app) design. Good use of it helps create interfaces that are visually appealing and easy to understand. By using similar colors, shapes, or sizes to group related elements, designers can create a visual hierarchy that guides users through the interface. 

However, it’s essential to strike a balance between similarity and differentiation—to prevent confusion or lack of distinction. Designers need to consider the context, cultural factors and user needs. When designers do it well, they can use similarity to help build interfaces that are both beautiful and functional. That goes a long way to creating designs that resonate with users and provide a seamless user experience. 

Learn More about The Law of Similarity

Take our course on Gestalt psychology and Web design.

Read our piece The Law of Similarity – Gestalt Principles (Part 1) for in-depth insights.

Consult our piece in Gestalt principles of form perception in the Glossary of Human-Computer Interaction.

Find further fascinating insights in UI Design in Practice: Gestalt Principles | by Thalion.

Find more insights and examples in Exploring the Gestalt Principles of Design | by Cameron Chapman.

Questions related to Law of Similarity

Do cultural differences affect the perception of the law of similarity?

Cultural differences indeed affect how users perceive designs. Different cultures have varying visual and cognitive processing styles—and these can influence how individuals perceive similarity in design elements. 

For example, Western cultures typically use an analytical style of processing. These cultures tend to focus on individual design elements. In this context, similarity helps to clearly distinguish and categorize elements. Many East Asian cultures—though—use a more holistic processing style. This means the overall context and relationship between elements receive more importance. So, the principle of similarity can still apply. However, the way users from different cultures interpret a design can differ. So can the degree of emphasis they place on it. 

Also, cultural symbolism can impact the perception of similarity in various parts of the world. Colors, shapes and patterns may carry different meanings and associations in different cultures. For example, the color red signifies good fortune in China—but can represent danger or warning in Western countries. So, designers must consider these cultural connotations to use similarity in a global context.  

How should designers balance similarity with contrast?

To effectively do this, designers should: 

Create a clear hierarchy: Use similarity to group related items—and so make the design cohesive. Then, use contrast to draw attention to the most important elements—like highlighting key headings or calls to action. Contrasting colors and other elements is something that helps users navigate the content easily. 

Ensure the best readability: High contrast between text and backgrounds is an essential thing for readability, but overdoing it can be counterproductive. So, aim for a balanced contrast—one that enhances the readability factor and doesn’t overwhelm users. Use subtle color variations—it’s something that can differentiate sections without causing visual strain. 

Generate visual interest: While similarity is great for cohesiveness, too much of it leads to a dull design. So, introduce contrast with varying colors, sizes or shapes. These can make essential elements stand out. This strategy keeps the design dynamic and engaging—without sacrificing unity. 

Meet user expectations: Users come with preconceived notions based on their own past experiences. Help meet these expectations through familiar design patterns (similarity) and innovate judiciously (contrast) to enhance the user experience. It’s therefore essential to hone those visual skills:  

Show Hide video transcript
  1. Transcript loading…

Also, two vital points to bear in mind with contrast (and color) are accessibility and designing for other cultures

How can the Gestalt law of similarity aid in creating an effective user interface for accessibility?

For example, in a user interface, designers can use consistent colors, shapes, or styles for buttons that perform similar actions. This approach really helps visually impaired users. It streamlines the overall user experience as it provides a clear navigation path. Similarly, by grouping related information or controls based on appearance, designers help users with cognitive disabilities to process and understand content more effectively. 

When they apply the law of similarity, designers can also help to comply with accessibility guidelines like the Web Content Accessibility Guidelines (WCAG). These guidelines focus on making designs perceivable, operable, understandable—and robust. When designers create visually connected elements, they ensure that users with diverse abilities can interact effectively with the interface. Simplified layouts are a part of that. 

Show Hide video transcript
  1. Transcript loading…

Can designers use the law of similarity in animation and motion design?

Yes, they can strategically apply the principle of similarity in animation and motion design to make engaging and cohesive design work, as it can: 

Create visual cohesion: Use similar visual elements such as color, shape or size in animations to indicate they’re part of the same group or concept—and make it easier for viewers to follow and understand the narrative. 

Guide user attention: Similar elements can guide the viewer's attention through a sequence. From animating similar elements in a way that’s consistent, designers can subtly direct the viewer's focus to the most important parts of the animation. 

Enhance user experience: When similar elements move in a unified way, it creates a pleasing aesthetic—one that enhances the overall user experience. This consistency in motion can also reinforce branding and style guidelines. 

Establish rhythm and flow: Elements with similar characteristics moving in a harmonious pattern can create a sense of flow—and so make the animation more engaging and easier to digest. 

Facilitate learning and comprehension: In educational animations, grouping similar concepts or ideas using visual similarity helps learners to make connections between related concepts easily. 

Support storytelling: In storytelling through motion design, using similar visual elements for related ideas or themes is something that helps to reinforce the narrative. It makes it easier for the audience to connect the dots and understand the story being told. 

Consider the other Gestalt principles as well for animation and motion design. 

What are some highly regarded books about the Gestalt law of similarity?

Malone, E. (2023). A Guide to Gestalt Principles for UX Designers: A mini visual design guide to help user experience designers leverage gestalt principles for better designs. 8 paw press. 

This book offers a concise exploration of Gestalt principles in UX design. Erin Malone provides a practical guide, applying these principles to digital interfaces with a focus on mobile and web examples. The book delves into visual hierarchy, animation, and microinteractions, aiming to help readers improve design skills. It also includes downloadable templates for design documentation, making it a hands-on resource for UX designers. 

How can I apply the Gestalt law of similarity in mobile app design?

Similarity is immensely useful in mobile UI design. For instance, in a mobile app, designers can use similar colors and shapes for all navigation buttons. This consistency lets users quickly identify these buttons as related functions. Similarly, a consistent font style for all headings helps users recognize them as related pieces of information. The law of similarity is particularly effective in creating a clean, organized interface that is easy to navigate. It reduces cognitive load and helps with information processing.

An excellent example of this principle in action is in social media apps. There, similar visual elements appear as posts, comments and notifications. These enable users to intuitively understand and navigate the app.

For more on the fineries of designing for mobile, watch CEO of Experience Dynamics Frank Spillers explain:

Show Hide video transcript
  1. Transcript loading…

What is the difference between the Gestalt law of similarity and the law of proximity? 

The law of similarity asserts that people perceive objects that resemble each other as part of a group or pattern. With similarity, designers give elements similar visual characteristics—like color, shape or size—to indicate their relatedness or similar functionality. For instance, in user interfaces, designers often apply the same color to all interactive buttons, to signal their clickability. 

In contrast, the law of proximity states that users perceive objects that are near each other as a cohesive group. With proximity, designers cluster related items—and so boost the interface’s organization and navigability. A common application is to place all navigation buttons in a website's header close together. This distinguishes them from the main content. Proximity is indeed important in establishing hierarchy. 

Show Hide video transcript
  1. Transcript loading…

These two laws are vital parts of the Gestalt principles, which are important to know – the whole is more than the sum of the parts. 

What are the best practices for combining the Gestalt law of similarity with other design principles?

Here are some key practices: 

Combine with the law of proximity: to visually group similar elements and apply the law of proximity to place related groups close together. This approach helps users quickly discern relationships and functions within the design. 

Establish good visual hierarchy: With size and contrast, make larger, more contrasting elements more prominent. And apply similar visual styles to elements that are equally important so you maintain balance and intuition in the interface. 

Show Hide video transcript
  1. Transcript loading…

Apply color theory: Select consistent color schemes for similar elements—to set the mood and guide user interactions. 

Incorporate in layout design: Organize similar elements in patterns or grids for a structured, navigable interface. 

What are some highly cited scientific publications about the Gestalt law of similarity?

The article "Computational Layout Perception using Gestalt Laws" by Koch and Oulasvirta (2016) presents preliminary findings on the computational perception of interactive layouts. The authors aim to algorithmically estimate how users perceive a layout, with potential applications in automated usability evaluation and computer-generated interfaces. The study explores the use of Gestalt laws as parsing heuristics to resolve conflicts among competing interpretations of a layout—resulting in a hierarchical grouping of main elements. The authors report promising results, with an implementation of four Gestalt laws enabling hierarchical grouping that presents favorable outcomes in 90% of realistic test cases. 

The article "Using the Gestalt Principles of Visual Aesthetics in Designing E-Learning Graphical User Interface" by Ofosu-Asare, Essel, and Gyebi (2018) explores the application of visual aesthetics and instructional design strategies in creating e-learning content. The study emphasizes the significance of aesthetics in influencing student feelings, attitudes and learning outcomes in online education. It discusses the impact of aesthetics on user experience and motivation in e-learning platforms, highlighting the need for quality content and user-friendly technology. The research methodology involves qualitative methods and purposive sampling to examine the effects of aesthetic visual environments on student satisfaction and motivation. The study provides practical guidelines for higher education and instructional designers to enhance the online learning environment through the application of expert standards and aesthetic considerations. 

Answer a Short Quiz to Earn a Gift

Question 1

What does the Law of Similarity state?

1 point towards your gift

Question 2

How does the Law of Similarity improve user experience in web design?

1 point towards your gift

Question 3

Why is visual coherence important in design?

1 point towards your gift

Question 4

How does the Law of Similarity contribute to visual hierarchy?

1 point towards your gift

Question 5

What is a potential issue if designers overuse similarity in design?

1 point towards your gift

Better luck next time!

0 out of 5 questions answered correctly

Do you want to improve your UX / UI Design skills? Join us now

Congratulations! You did amazing

5 out of 5 questions answered correctly

You earned your gift with a perfect score! Let us send it to you.

Letter from IxDF

Check Your Inbox

We’ve emailed your gift to

Do you want to improve your UX / UI Design skills? Join us now

Literature on the Law of Similarity

Here’s the entire UX literature on the Law of Similarity by the Interaction Design Foundation, collated in one place:

Learn more about the Law of Similarity

Take a deep dive into Law of Similarity with our course Gestalt Psychology and Web Design: The Ultimate Guide .

One of the key ingredients to a successful product is the creation of effective, efficient and visually pleasing displays. In order to produce such high-quality displays, whether they are graphical (e.g., websites) or tangible (e.g., remote controls), an understanding of human vision is required, along with the knowledge of visual perception. By observing, researching, and identifying examples of our perceptual abilities, we can design products according to these unifying qualities. In order to spread such skills within the world of interaction design, we have developed “Gestalt Psychology and Web Design: The Ultimate Guide.”

Gestalt psychology is a theory of mind which has been applied to a number of different aspects of human thought, action, and perception. In particular, Gestalt theorists and researchers attempt to understand visual perception in terms of the way in which underlying processes are organized and how they help us make sense of the world. The organization of these cognitive processes is important to our understanding of how we interpret the constant stream of visual information entering our eyes and how it becomes a cohesive, meaningful and usable representation of the world. Over the last twenty years, the work of Gestalt psychologists has been adopted by interaction designers and other professionals involved in the development of products for human users.

Within this course, we have compiled and consolidated some of the best resources currently available on the subject of Gestalt psychology and visual perception. To help you appreciate how you can apply Gestalt psychology to web design, we have provided many different examples from existing designs. These draw attention to the exact qualities, quirks, and features of visual perception. Moreover, they discuss how these have been accommodated and, on a number of occasions, exploited so as to support either the user's intentions or those of the designer or client.

The application of Gestalt thinking to design provides us with insights and new ways of approaching problems and challenges. By cementing in our own minds the many ways we organize visual information, we can improve our designs for all users.

All open-source articles on the Law of Similarity

Please check the value and try again.

Open Access—Link to us!

We believe in Open Access and the democratization of knowledge. Unfortunately, world-class educational materials such as this page are normally hidden behind paywalls or in expensive textbooks.

If you want this to change, , link to us, or join us to help us democratize design knowledge!

Share Knowledge, Get Respect!

Share on:

or copy link

Cite according to academic standards

Simply copy and paste the text below into your bibliographic reference list, onto your blog, or anywhere else. You can also just hyperlink to this page.

Interaction Design Foundation - IxDF. (2016, August 30). What is the Law of Similarity?. Interaction Design Foundation - IxDF.

New to UX Design? We’re Giving You a Free ebook!

The Basics of User Experience Design

Download our free ebook The Basics of User Experience Design to learn about core concepts of UX design.

In 9 chapters, we’ll cover: conducting user interviews, design thinking, interaction design, mobile UX design, usability, UX research, and many more!

A valid email address is required.
316,700 designers enjoy our newsletter—sure you don’t want to receive it?