Blue Background Passport Photo

Replace a plain photo background, white, cream, grey or red, with blue and crop it to 3:4 or 4:6 for forms that ask for a blue ID photo. Runs in your browser.

Blue Background Passport Photo

Processed in your browser
Choose one portrait photo Choose file or drop it here. Works best with a plain background and a front-facing pose

A person detector runs in your browser and separates you from the background, so clothing and headscarves stay as they are. The first use downloads the engine once (about 13 MB). Check the preview, especially hair and shoulder edges. This is an editing aid, not a guarantee of official compliance.

Files stay in this browser tab. Nothing is uploaded to a server.

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Forms for schools, universities, workplaces and some official documents sometimes specify a blue background for the applicant photo. If your best photo was taken against a plain wall, white, cream, grey or even an existing red studio background, you can switch it to blue here in a few seconds. The result is a cropped JPEG ready to download, and your photo never leaves your device.

Taking a photo that works well

The quality of the result still depends a lot on the original photo. Set it up like this:

  1. Stand about an arm's length in front of a reasonably plain wall. White, cream, grey, red and blue all work; patterns, shelves and windows do not work as well.
  2. Make sure nobody else is in the frame and keep your hands down, so the tool only has one person to separate.
  3. Face a window or soft light so your outline is clear and there is no strong shadow behind you.
  4. Keep your head in the middle of the frame with space above it, since the crop is taken from the centre.

How the blue is applied

The tool runs a person-segmentation model, MediaPipe Selfie Segmenter by Google (Apache-2.0 licence), inside your browser. It estimates which pixels belong to you and which belong to the background, then replaces the background with blue (RGB 35, 87, 159). Skin, hair, clothing, a white shirt, a light hijab and glasses are kept. The edges are cleaned so the old background colour does not leave a coloured outline around your hair.

On the first run your browser downloads the recognition engine once, about 13 MB, from this site and caches it; after that a photo usually takes well under a second. Very old browsers may not support it. The method has limits you should check in the preview:

  • A busy background, other people or objects behind you may be kept or cut unevenly.
  • Raised hands, bags or items at the edge of the frame can be cut or leave small artifacts.
  • Very fine hair strands are simplified into a smoother outline.

If you see any of these, retake the photo against a plainer wall with only you in the frame. That is usually faster than trying to fix it afterwards.

Output details

RatioOutput pixelsFormat
3:4600 x 800 pxJPEG, 92% quality
4:6600 x 900 pxJPEG, 92% quality

The download button becomes available once the preview appears. The pixel size does not fix a print size in centimetres; your printer settings decide that. If the form has a size limit in KB, run the photo through the image compressor afterwards and set the limit given on the form.

Limits you should know

This is a practical editing aid, not a compliance checker. It does not measure head size, check that your eyes are open, or confirm the exact shade of blue an office expects. Blue shades vary between institutions, so compare the preview with any sample image your form provides. The receiving authority's current instruction on size, ratio, colour code and attire is always the final word, and no tool can guarantee the photo will be accepted. If your form asks for red instead, use the colour switch in the same tool or open the red background version.

How to use

  1. Select your photo

    Choose one front-facing photo taken against a reasonably plain background, with no one else in the frame.

  2. Choose 3:4 or 4:6

    Pick the ratio your form asks for. The photo is cropped from the centre to 600 x 800 or 600 x 900 px.

  3. Set the background to blue

    Select blue as the background colour. You can switch to red in the same tool at any time.

  4. Inspect the preview

    The first run loads the recognition engine once (about 13 MB). Check hair edges, a hijab, shoulders and the edges of the frame before saving.

  5. Download the JPEG

    Download once the preview is ready, and compress it afterwards if the form sets a KB limit.

Other sizes and tools

Frequently asked questions

What shade of blue does the tool use?
It uses RGB 35, 87, 159. Institutions may expect different shades, so compare with any sample your form provides.
Will my white shirt, hijab or glasses turn blue?
No. A segmentation model separates you from the background, so clothing, a light hijab, glasses and skin are kept. Only the background is replaced.
Can I use a photo taken against a cream or grey wall?
Yes. Any reasonably plain colour works, including white, cream, grey and red. A busy background or other people behind you are harder and may leave artifacts.
Can I change an existing red background to blue?
Yes. Upload the red-background photo, choose blue, and the tool replaces the red area while keeping you. Check the hair edges in the preview.
Why is the first run slower?
Your browser downloads the recognition engine once, about 13 MB, and caches it. After that, a photo is usually done in well under a second.
Does this make my photo meet passport or visa standards?
No. It only changes the background and crop. Official requirements such as head size, pose and attire are set and checked by the receiving authority.
Can I keep the photo without cropping it to 3:4 or 4:6?
Yes. Choose No crop (original size) under Crop. The whole photo is kept and only the background is replaced. Very large photos are scaled down to 1,600 pixels on the longest side.

More tools

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.