Preparing a logo for website use means more than uploading the JPG from your visiting card. You need a crisp SVG (or high-resolution PNG) for the header, a simplified square icon for the favicon and app shortcuts, and a 1200 × 630 pixel share image so links look right on WhatsApp, LinkedIn and Facebook. Each has its own sizes and rules.
- Use SVG for the header logo wherever your platform allows it.
- Keep the header logo roughly 32 to 60 pixels tall on mobile, more on desktop.
- Make a separate square icon version for the favicon; full logos become unreadable at 16 pixels.
- Create a 1200 × 630 pixel social share (Open Graph) image.
- Keep light and dark versions for different backgrounds.
What goes wrong with logos on websites
We see the same problems on new and old sites alike. The logo looks blurry on a phone because it was a small JPG saved from a WhatsApp chat. It sits in a white box on a coloured header because the file has no transparent background. The tagline under the logo is too small to read and makes the whole thing look cramped. And the browser tab shows a generic globe because nobody made a favicon.
None of this is hard to fix. It just needs the right files, which a proper logo design handover should include from day one.
File formats: which one for which job
| Format | Best for | Why | Watch out for |
|---|---|---|---|
| SVG | Header logo, footer logo | Vector, sharp at any size, tiny file | Must be exported cleanly; text should be converted to outlines |
| PNG (transparent) | Header if SVG is not allowed, email signatures | Supports transparency, widely accepted | Export at 2× the display size to stay sharp on high-density screens |
| JPG | Photos, not logos | Small for photographs | No transparency, blurry edges on flat colours |
| ICO / PNG | Favicon | Browsers and devices expect these | Needs a simplified icon, not the full logo |
| WebP | Share images, photos | Smaller than JPG or PNG | Some social platforms prefer JPG or PNG for share images |
Ask your designer for the logo in AI or EPS (master files), SVG, transparent PNG and a PDF. If you only have a JPG, have it redrawn as a vector. It is a small job that pays off on every website, banner and print run afterwards.
Sizing a logo for website headers
There is no single correct size, because logos come in different shapes. A wide wordmark and a tall stacked badge need very different treatment. As a rough guide:
- Mobile header: about 32 to 60 pixels tall, keeping the header itself slim so content shows above the fold.
- Desktop header: about 40 to 90 pixels tall, depending on the logo's shape.
- Export size: for PNG, export at twice the display size so it stays sharp on high-density phone screens.
- Clear space: leave breathing room around the logo, at least the height of one letter of the wordmark.
If your logo is tall and stacked (icon above the name), consider a horizontal version for the website header. Many brands keep both: stacked for packaging and social profiles, horizontal for the web.
Taglines and small text
A tagline that reads fine on a printed letterhead often becomes a grey smudge at header size on mobile. We would usually remove the tagline from the header logo and place it as real text elsewhere, such as in the hero section, where it can be read and indexed by search engines.
Favicons: the logo at 16 pixels
The favicon is the small icon in the browser tab, bookmarks and search results on mobile. It is also used when someone saves your site to their phone's home screen. At these sizes, a full logo with a name is unreadable.
- Start from your logo's icon or the first letter of the brand name.
- Simplify it: remove thin lines, small text and fine details.
- Place it on a solid square or circle in your brand colour if it gets lost on its own.
- Check how it looks in both light and dark browser themes.
Common files to prepare:
| File | Size | Used for |
|---|---|---|
| favicon.ico | 16 × 16 and 32 × 32 combined | Browser tabs, older browsers |
| favicon.svg (optional) | Vector | Modern browsers, sharp at any size |
| apple-touch-icon.png | 180 × 180 | iPhone home screen shortcut |
| icon-192.png and icon-512.png | 192 × 192, 512 × 512 | Android home screen and web app manifest |
Most website platforms, including WordPress and Shopify, let you upload a single square image (512 × 512 pixels works well) and generate the rest for you.
The social share image
When someone shares your website link on WhatsApp, LinkedIn or Facebook, the platform shows a preview card. Without a proper share image (called an Open Graph or OG image), it may pull a random photo, a cropped logo or nothing at all.
- Size it at 1200 × 630 pixels, the widely supported ratio.
- Place your logo and a short line about what you do inside the central safe area, since some apps crop the edges.
- Use a background in your brand colours or a strong product photo.
- Keep the file reasonably small, a few hundred KB at most.
- Set a default for the whole site, and custom images for key product or service pages if you can.
Test it by sending the link to yourself on WhatsApp. Platforms cache previews, so after changing the image you may need to wait or use the platform's debugging tool to refresh it.
Light, dark and one-colour versions
Your logo will appear on white headers, dark footers, coloured banners and photos. Prepare:
- A full-colour version for light backgrounds.
- A reversed (white or light) version for dark backgrounds.
- A single-colour version for watermarks and small uses.
Never place a full-colour logo with a white box behind it on a dark section. It is one of the quickest ways to make a site look unfinished.
Quick checklist
- Header logo is SVG or a 2× transparent PNG.
- Logo is readable on a phone without zooming.
- Logo links to the home page.
- The logo file has descriptive alt text, such as your company name.
- Favicon and home-screen icons are set.
- Share image shows correctly on WhatsApp and LinkedIn.
Many of these details sit alongside wider layout decisions. If you are also working on your site's look, our guide to choosing a website colour scheme from your brand colours is a good next read.
How Colorsgrid can help
Colorsgrid has designed logos and brand identities from Noida since 2013, and we hand over files ready for packaging, print and the web: vector masters, SVG and PNG, favicon sets and share images. If your current logo only exists as a low-resolution JPG, we can redraw it properly so it works everywhere.
Final thoughts
Getting your logo for website use right is a small, one-time job that affects how professional every page and every shared link looks. Ask for the right formats, simplify the favicon, set a share image and keep light and dark versions ready. For a logo redraw or a full web-ready file set, ask for a free quote.
Frequently asked questions
What size should a logo be on a website?
There is no single size, because logo shapes differ. As a rough guide, a header logo is often around 32 to 60 pixels tall on mobile and 40 to 90 pixels on desktop. If you use PNG, export it at twice the display size so it stays sharp on high-density phone screens.
Is SVG or PNG better for a website logo?
SVG is usually better because it is a vector format, stays sharp at any size and has a small file size. Use a transparent PNG exported at double the display size if your platform does not accept SVG. Avoid JPG for logos, as it has no transparency and softens edges.
What size should a favicon be?
Common favicon files include a favicon.ico with 16 × 16 and 32 × 32 pixel sizes, a 180 × 180 apple-touch-icon and 192 × 192 and 512 × 512 icons for Android. Many platforms generate these from one 512 × 512 square image. Use a simplified icon rather than the full logo.
What is an OG image and what size should it be?
An OG or Open Graph image is the preview picture shown when your website link is shared on WhatsApp, Facebook or LinkedIn. A size of 1200 × 630 pixels is widely supported. Keep the logo and key text inside the centre, since some platforms crop the edges of the image.
Why does my logo look blurry on my website?
A blurry logo usually means the file is too small, is a compressed JPG, or is being stretched beyond its original size. Use an SVG version, or a PNG exported at twice the size it is shown. If you only have a low-resolution JPG, get the logo redrawn as a vector.
