This is due to dispersion, or ACA (axial chromatic aberration): your eye actually focuses at different depths for different colors. This will be most noticeable for large apertures (so at night, when your pupils are dilated), and for extremely long wavelengths... like highly spectrally pure indigos, like neon lights, or certain LEDs.