DevTools Logo

Golden & Blue Hour

Golden & Blue Hour

Compute golden hour (−4° to +6°) and blue hour (−6° to −4°) for a date and place.

Runs in your browser
Golden: −4° to +6° · Blue: −6° to −4° · geometric sun altitude
Try an example

Place and date

Istanbul

Light windows

4 windows · Europe/Istanbul
Times are local clock times in the selected IANA zone. Golden hour is the Sun from −4° to +6°; blue hour is −6° to −4° (geometric altitude, no refraction).
00:0006:0012:0018:0024:00
Golden hourBlue hourTwilight
Sunrise
07:28:57 UTC+02:00 GMT+2
2000-01-01T05:28:57.822Z
Solar noon
12:07:20 UTC+02:00 GMT+2
2000-01-01T10:07:20.032Z
Sunset
16:45:50 UTC+02:00 GMT+2
2000-01-01T14:45:50.162Z
  • Morning blue hour (−6° to −4°)06:57:58 UTC+02:00 GMT+2 → 07:09:48 UTC+02:00 GMT+2
  • Morning golden hour (−4° to +6°)07:09:48 UTC+02:00 GMT+2 → 08:12:45 UTC+02:00 GMT+2
  • Evening golden hour (+6° to −4°)16:02:02 UTC+02:00 GMT+2 → 17:04:59 UTC+02:00 GMT+2
  • Evening blue hour (−4° to −6°)17:04:59 UTC+02:00 GMT+2 → 17:16:49 UTC+02:00 GMT+2

Sun altitudes from astronomy-engine. Offline city catalog. Times formatted in the chosen IANA zone.

Examples

Istanbul June solstice

Input
computeSunTimes("2026-06-21", 41.0082, 28.9784)
Output
sunrise before sunset, golden-pm present

A mid-latitude summer day has both golden windows.

About this tool

Golden & Blue Hour solves sun rise, set and altitude crossings with astronomy-engine.

Golden hour is sun 0° to +6°. Blue hour follows civil twilight (−6°) to the horizon. Nautical (−12°) and astronomical (−18°) are listed too.

How to use this tool

  1. Pick a place

    Search a city or type latitude and longitude.

  2. Set the date

    Calculate, then read local clock times.

Use cases

Shoot planning

Copy the JSON window list into a shot schedule.

Common mistakes

Mistake:Reading the timeline as local hours.

Fix:The bar is UTC; the text list uses your IANA zone.

Frequently asked questions

What does this tool do?

It lists sunrise, sunset, twilight and golden/blue hour windows for a date and place.

Which library computes the sun?

astronomy-engine rise/set and altitude searches, not an HTTP weather API.

Why is the bar labeled UTC?

The stacked timeline is UTC; the printed times use your timezone.

Polar night?

Rise or set can be missing; remaining altitude crossings still list if found.

References & standards