Lighting comprises a large part of the global electricity consumption as of today, and the use of lighting in illumination and displays is only projected to grow. It is therefore imperative to meet this energy demand, not only by means of greener energy production, but also with materials that are both more efficient to fabricate as well as to use. Low cost and energy efficient light sources therefore play an important role in minimizing further greenhouse emissions from the way we choose to live.Metal halide perovskites are a group of semiconductors that have received a great amount of attention during the past years due to impressive -and continuously increasing -performance as active materials implemented in solar cells and light emitting diodes. This is due to highly desirable optoelectronic properties combined with low-cost, solution-processable fabrication methods. Simple bandgap-tunability is easily achieved by compositional and dimensional engineering, allowing perovskite emission to span a broad wavelength region from ultraviolet to near infrared. As with previous technologies, attaining stable, bright, and pure blue light has proven difficult also in metal halide perovskites. This thesis investigates some of the challenges in achieving blue emission in mixed-halide and mixed-dimensional perovskites for light-emitting-diode applications.Mixed-halide alloying provides the most straightforward way of tuning the bandgap of perovskites. Unfortunately, mixed bromide/chloride-perovskites (used to achieve blue light) suffer from both spectral and temporal instabilities, as well as severe luminescence quenching at the large chloride contents necessary for blue emission. The spectral instability arises from a segregation of halides into regions of differing halide content, and hence different bandgap, resulting in a shift in emission color during operation. Although the origins of the poor temporal stability of perovskite light emitting diodes are manifold, one of the main problems are the low barriers for halide migration under the applied electric field during operation, rapidly degrading the device properties.We first find that compositional heterogeneities, stemming from rapid uncontrolled film growth, both lowers the threshold for further halide segregation as well as serves as centers for non-radiative recombination, resulting in reduced luminescence yield. We show that by carefully moderating the crystallization dynamics it is possible to achieve films with a homogeneous composition, thereby mitigating the negative effects arising from material inhomogeneities. We identify means of how growth environment, stoichiometric tuning and chelating additives can be used to favorably control film formation and provide guidelines that can be more widely applied in the fabrication of perovskite films and devices. This would not have been possible without the support and contribution from supervisors, colleagues, friends, and family. Thank you everyone who has been involved in any way. I am sure to forget someone, so ...