X-linked colour blindness primarily impairs the ability to distinguish between red and green colours.