It probably isn't the cleanest approach, but I think this will work:
// initialize to some value for the sake of this example
COLORREF cr = RGB( 0xAA, 0xBB, 0xCC );
// Swap blue and red
D3DCOLOR d3d = RGB( GetBValue( cr ), GetGValue( cr ), GetRValue( cr ) );