New a graph and add two reference lines in Reference Lines dialog
Uncheck Auto Format for both lines
Change color for one reference line and click Apply button
Go to the left panel, right-click on the changed line and select Copy Format
Right-click on the other line and select Paste Format, click OK button
==> nothing changes.
Fixed in Origin2024b.