Blog

Why the same brand blue has several HEX codes online

Find out why a brand blue has different HEX codes online, how to sample the displayed color, and which source to trust for your design.

Lauren HughesTools and utilities 5 min read

You search for a company’s brand blue and find several different HEX codes. One might come from an old logo file, another from a design guide, and a third from a website. It can be hard to tell whether a code is wrong or whether the brand uses more than one blue.

Often, those codes describe different colors that serve different purposes. You can use the Color Picker to sample what a website actually displays, then check that result against the brand’s official design materials.

Compare the blue colors

  1. Open the Color Picker in Chrome or Edge on a computer. These browsers support picking a color from anywhere on the screen. Other browsers may offer a reduced version or no screen picking.
  2. Open the page, image, or design that shows the blue you want to check. Sample a broad, flat area near the center of the color, away from text, borders, shadows, and gradients.
  3. Write down the HEX value shown by the tool. A HEX value usually looks like #123456. It represents red, green, and blue channel values in a compact form.
  4. Repeat the sample on each page or image that appears to use the same brand color. Compare the values, and note where each one came from, such as a logo, a button, or a brand guide.

The picker reports the color displayed at the sampled point. That is useful for checking a visual reference, but it does not tell you whether the sampled value is the official brand color or the value originally specified in the page’s code.

What the different codes mean

The brand uses several approved blues

A brand may have a primary blue for its logo and headings, a darker blue for text or buttons, and a lighter blue for backgrounds. Design guides may also include colors for print, accessibility, charts, or different product lines. These are deliberate choices, not necessarily errors.

Look for labels such as primary, secondary, dark, light, or interactive in the brand guide. If the guide names several blues, use the one intended for your specific element rather than choosing by appearance alone.

A website uses a close but different value

A page may have been built before the current design guide, or a designer may have chosen a similar shade without using the official value. Large companies can also have separate teams and older pages that have not been updated together. The color may look like the brand blue while having a different HEX code.

When exact consistency matters, prefer a current official guide or an approved brand asset over a sample from an older page, a search result, or an unofficial color listing.

The sampled point is blended with nearby colors

Text edges, shadows, gradients, transparency, and anti-aliasing can create pixels that are mixtures of the blue and the surrounding area. A sample taken from a curved logo edge, for example, may differ from the solid fill used in the original design.

Try the center of a large, unshaded area. If the color has a gradient or transparency, there may not be one HEX value that describes the whole object. The value picked from the screen is the final displayed pixel at that spot.

The screens make the same color look different

A HEX code does not describe how bright or accurate your monitor is. Display settings, color profiles, and screen hardware can make the same code look warmer, cooler, brighter, or more muted on different devices. A screenshot can also alter the appearance or color information.

This is why two samples that look almost identical to you may have different codes, and why the same code may not look identical everywhere. For a closer look at screenshot differences, see why a color’s HEX value can change after a screenshot.

Choose the right code for your design

  1. Start with an official source. Check the brand’s current style guide, design system, or downloadable logo files. Look for the intended use next to the color value.
  2. Match the use, not just the name. If the guide lists a primary blue and a button blue, use the button color for buttons. A color with the same informal name may not be the right one for every element.
  3. Use screen sampling when no value is available. If you only have a webpage or image to work from, sample a large, flat area with the Color Picker. Treat the result as a visual match, not proof of the official specification.
  4. Check the color in context. Place it beside the logo, background, or other colors it will appear with. If the design needs readable text, check that the text and background have enough contrast.
  5. Keep one source of truth. Record the approved HEX value and its intended use in your project notes or design file. This helps prevent old values from being copied into new pages.

What a HEX code can and cannot tell you

In common web use, a six-character HEX code represents an RGB color, with two characters each for red, green, and blue. If two codes differ, they specify different channel values under the usual interpretation. The difference may be small enough that most people will not notice it on a particular screen.

A HEX code does not include a brand name, a note about whether it is the primary color, or instructions for how to use it. It also does not capture the effect of transparency or the appearance of a color after it is placed over another color. Use the code together with its source and intended role, not as a complete brand specification.

If you cannot find an official value, ask the brand owner or designer before using a sampled color in a logo or other important asset.