Starting with iOS 9.3, Apple has introduced “Night Shift”, a F.lux-like feature in the iOS devices (iPhone, iPad etc). I highly advise enabling it for your sleep hygiene.
You can find it under Settings -> Display & Brightness:
Set it to “More warm” for minimal blue light:
For non-iOS devices, see F.lux.
Enjoy the softer evening light!