You have the logo as a file, and now the website, the slide deck and the print order all need "the brand blue" as an actual value. The tempting move is to open the Color Picker and look for an upload button. Nothing is wrong when you cannot find one: you are holding one tool up to a two-tool job.
Here is the honest split, stated before anything else: a logo file is an image, and the Color Picker does not open images. Sampling a color out of the file is the Image Color Picker tool's job. The Color Picker's job begins with a sampled HEX: confirming that color in every notation, copying what each destination needs, and checking whether it can carry text. This guide walks through both halves, in order.
Contents
- Quick answer
- Two jobs: sampling the color, then confirming it
- How to copy a brand color from a logo file, step by step
- Worked example: one sampled blue, end to end
- Deciding the color's text use on numbers
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
Upload the logo file to the Image Color Picker tool and click the point whose color you want; that gives you a HEX. Then open the Color Picker, type the HEX in, and read the color back as HEX, RGB and HSL with a large preview. Copy the notation each destination needs, record the HEX or RGB as the official value, and check the contrast ratios before the color is used for text anywhere.
Two jobs: sampling the color, then confirming it
Sampling means reading the color of one point inside an image file: image work, where the file is opened, displayed, and clicked. The Color Picker does none of that. It works with a single color you supply, picked with its swatch or typed as a HEX value, and shows it in the three notations the web actually uses.
Confirming is the second job, and the one people skip. A sampled value is a claim: this pixel, in this file, is this color. Before it goes into a stylesheet or brand document, it deserves a check: does the HEX produce the color you think it does, what is it in RGB, and does it pass contrast as text? The Color Picker answers all three on one screen.
How to copy a brand color from a logo file, step by step
- Upload the logo file to the Image Color Picker tool and click the exact point you want: the middle of a solid area of the mark, away from edges, shadows and gradients.
- Note the HEX it reports. If the logo uses the brand color in more than one place, sample each area separately rather than assuming they match.
- Open the Color Picker and type the sampled HEX, or pick the color with the swatch if you are matching by eye instead.
- Read the result panel (HEX, RGB and HSL, with a large preview) and confirm the preview is the color you sampled.
- Copy the notation each destination needs with its Copy button: HEX for CSS and most design tools, RGB where a tool asks in RGB.
- Check the contrast ratios against black and white, and note what they allow, before anyone sets text in this color.
- Record the HEX or RGB value as the official brand color in your document or stylesheet. That record, not the logo file, becomes the source everyone copies from.
Worked example: one sampled blue, end to end
Suppose sampling gives you #2563EB from the logo's main mark. Typed into the Color Picker, the tool confirms it in all three notations: #2563EB is rgb(37, 99, 235) and hsl(221, 83%, 53%). The large preview shows the strong mid blue you clicked, confirming the sample.
Now the destinations. The stylesheet takes the HEX, #2563EB, copied exactly as shown. A tool that asks for RGB gets rgb(37, 99, 235). Both are exact, so both reproduce the same blue.
Then the contrast check. Against white, this blue measures 5.17:1, which passes the WCAG AA minimum of 4.5:1 for normal text. Against black it measures 4.06:1, which does not pass. So the record carries a usage note as well as a value: this blue can carry text on white and light backgrounds, and should not carry normal text on black.
Finally, the recording. The brand document gets the HEX, with the RGB beside it. The HSL reading, hsl(221, 83%, 53%), is useful for describing the color and designing variants around it, but it is not the archived value, for the reason the next sections explain.
Deciding the color's text use on numbers
A brand color usually ends up as text somewhere: a headline, a button label, a link. Whether it survives that job is not a matter of taste; it is a ratio. The Color Picker shows the two most common cases directly, your color against pure white and against pure black.
Read them as decisions, not decorations. A pass against white at 5.17:1 means body text in this blue on a white page meets the AA minimum. A fail against black at 4.06:1 means the same blue as text on a black panel falls short. The honest options are a lighter variant for dark backgrounds, or keeping this exact blue for non-text jobs on dark surfaces: shapes, borders, the mark itself.
Limitations and honest tradeoffs
The HSL value this tool shows is rounded to whole numbers, so converting it back can differ by one unit in a channel. One unit is invisible, but brand work is exactly where "invisible, probably" is the wrong standard. Record HEX or RGB, which are always exact, and treat HSL as a description and a design aid.
The Color Picker also cannot judge your color against anything except black and white. Colored backgrounds, brand color on brand color, need the Color Contrast Checker.
And the sampling half has its own honesty requirement: the Color Picker confirms the value you bring it, not the file you took it from. If the click landed on an edge pixel, a shadow or a compressed artifact, the confirmed value will faithfully reproduce the wrong color. Sample the middle of a solid area, and sample twice if the result looks off. The swatch is your operating system's picker, which may offer extra formats this page does not display; the notations guaranteed here are HEX, RGB and HSL.
Common mistakes
- Looking for an upload button in the Color Picker. There is none, by design. Sampling an image is the Image Color Picker tool's job.
- Recording the HSL reading as the official color. It is rounded to whole numbers. Record the HEX or RGB.
- Sampling once, at an edge. Edge and shadow pixels are blends, not the brand color. Click the middle of a solid area.
- Assuming every instance in the logo matches. Sample each area separately; files edited over the years often carry near-miss versions of the same color.
- Skipping the contrast check. A copied color that fails as text gets discovered later, in public. The ratios take seconds.
FAQs
Can the Color Picker open my logo file and sample its colors? No. The Color Picker works with one color you give it, shown as HEX, RGB and HSL. Picking a color out of an image is the Image Color Picker tool's job: upload the logo file there and click the point you want to read. Bring the HEX it gives you back to the Color Picker to confirm and record it.
Which notation should I record for a brand color? Record the HEX or the RGB value. In this tool both are always exact. The HSL value is rounded to whole numbers, so converting it back can differ by one unit in a channel, and a brand color should not carry that drift.
What do I do once I have the sampled HEX? Type it into the Color Picker. The tool shows the same color as HEX, RGB and HSL with a large preview, so you can confirm the sample looks right and copy whichever notation each destination needs.
How do I know whether the brand color works as text? Read the contrast ratios the Color Picker shows against black and white. The worked example blue measures 5.17:1 against white, which passes the WCAG AA minimum of 4.5:1 for normal text, and 4.06:1 against black, which does not. Those two numbers decide where the color can carry text.
What if the brand color will sit on a colored background? Use the Color Contrast Checker for that pairing. The Color Picker only compares your color with pure black and pure white, so it cannot judge a color against a colored background.
Conclusion
Copying a brand color from a logo file is two jobs wearing one name: sample the point with the Image Color Picker tool, then confirm, convert, contrast-check and record the value with the Color Picker. Do both halves and the color that lands in your stylesheet is the color that was in the logo, exactly. If you want to understand the HSL reading you will see during the confirming step, and when it beats HEX as a working notation, read our companion guide on what HSL is and when to use it instead of HEX. For more guides in this series, see the Color and Design Tools guides.