A highly emissive blue organic light emitting diodes (OLED) for use as an algae excitation source in a biosensor was designed and optimized to meet spectral filtering requirements of the system. This source needs to exhibit high emission around 470-480 nm (algae absorption) combined with low emission in the algae fluorescence bandwidth (550-600 nm) in order to avoid any overlapping signal in the biosensor's sensitivity range. To address these issues, a microcavity device (MOLED) was studied and optimized. In order to further decrease the residual parasitic emission in the green spectral range, an additional filter was also integrated in the device. An improvement in peak intensity of 2.7 times the reference value was obtained, as well as a significant reduction of the parasitic emission in the green range. These improvements in peak intensity and spectral filtering should lead to a suitable blue OLED excitation source for compact optical biosensors.