Sorry, but that sounds more like a problem with your color management systems and workflows and not so much with JPEG itself.
Also, XYB is an option; I use the adaptive quantisation option from jpegli (with progressive level 2) to get smaller files. I never bothered with XYB, as it looked complicated.